Search results

  • ...vFeature1.13|2}} subcontainers can be accessed by using the usual variable syntax: <syntaxhighlight inline lang='lua'>unit.variables["a.b.c[6].d"]</syntaxhig ...e, the ''valid'' field is the only one that can be read without causing an error.
    26 KB (3,965 words) - 20:53, 5 June 2021
  • WML syntax updated for 0.9.1 (involving translations)<br/> terrain error messages fixed<br/>
    13 KB (2,033 words) - 05:49, 27 January 2024
  • The multichannel syntax assumes all arguments are set to zero initially, so one can use, e.g. ~CS(2 The single channel syntax behaves exactly the same, except that only single-channel modifications are
    18 KB (2,904 words) - 08:06, 19 April 2024
  • Unit animation syntax is described in [[AnimationWML]]. In addition to the animation tags describ ...is not a supported combination (it doesn't have a graphic, and will cause error logs that the graphic is missing). This is tracked as bug [https://github.c
    23 KB (3,689 words) - 01:07, 25 February 2024
  • *'''underline''': One of 'none', 'single', 'double', 'low', 'error'. * see [[MusicListWML]] for the correct syntax
    46 KB (7,208 words) - 23:30, 16 April 2024
  • ...ther on the map, on a recall list, or into a variable for later use.) For syntax see [[SingleUnitWML]]. ...ntroller''': the identifier string of the side's controller. Uses the same syntax of the ''controller'' key in the [[SideWML|[side]]] tag. warning: in multip
    61 KB (9,881 words) - 03:40, 22 February 2024
  • WML has a syntax containing two basic elements: ''tags'' and ''attributes''. Furthermore, '' ...Unrecognized tags and keys, such as the result of typos, sometimes produce error messages, but at other times they are ignored. The [[SchemaWML|WML schema]]
    10 KB (1,669 words) - 03:36, 23 February 2024
  • ...'t actually do anything with them, no handling of malformed sheets, and no error codes or logging (though there is a place for it it just currently contains # Reuse as much as the existing syntax as possible
    15 KB (2,499 words) - 01:27, 23 May 2014
  • ...eferences itself, because it will cause errors (but, alas, not necessarily error messages). '''Syntax: #define ''symbol'' [''parameters''] ''<newline>'' ''substitution'' #enddef
    22 KB (3,254 words) - 03:31, 16 January 2024
  • ...similar to using the '''$(...)''' syntax but avoids the possibility of WFL syntax errors if a referenced variable is empty. * '''allow_less''': If yes, the tag will not show an error in case there were less than num_items locations available.
    37 KB (5,920 words) - 05:49, 27 February 2024
  • This syntax applies only to including new units; if you need to include any other folde ...hat actually exist in your campaign folder, otherwise you will get a nasty error when you try to play your campaign. So if you don't have a "macros" folder
    9 KB (1,307 words) - 20:00, 25 December 2018
  • === [error]: Error messages === ...is sent when an operation has failed for any reason, whether it be a user error or an issue with the server. It is also sent upon receiving an unrecognized
    12 KB (1,849 words) - 15:14, 7 April 2023
  • ...al consequences of macros, for example the use of unbalanced WML tags. The syntax used is regular-expression-like (which is not quite the same as regex-like! simple_directive := ('#warning' | '#error') ws+ [^«nl»]* «nl»
    7 KB (1,115 words) - 16:24, 24 February 2024
  • This page is dedicated to the syntax modifications necessary to enable a scenario or campaign to work in multipl ...layers'. Not doing so can result in an [[OOS_(Out_of_Sync) | Out of Sync]] error. Most [event]s are synced across all clients, but a few still have issues.
    5 KB (776 words) - 04:58, 10 December 2023
  • ; wmllint: a utility for sanity-checking WML syntax and porting your old WML to the current version of WML. ...th only "python" or "C:\Python37\python.exe" or the like and interpret the error messages that you get. If you get an "unknown command", python isn't instal
    29 KB (4,777 words) - 09:01, 30 December 2023
  • ...ault AI moves its units. However, both their [[AiWML#AI_Targets_and_Goals|syntax]] and their internal implementation (see below) are different from those of In the following, we describe the syntax of the [ai] tag. We first show the top-level keys and tags that can be use
    39 KB (6,494 words) - 23:25, 9 April 2024
  • ==== Syntax ==== ...a new candidate move to the RCA AI ''main_loop'' stage, use the following syntax:
    16 KB (2,683 words) - 15:21, 7 April 2023
  • ...n my AI experience, finding a good alpha value is more or less a trial and error process. We can make a close initial guess, but play testing and fine tuni The following syntax is proposed to accomplish this:
    8 KB (1,413 words) - 17:59, 26 May 2008
  • ...e triggered. Most important of these is the '''name''' key. Without it, no error will be raised but the event will never fire. Therefore, from a practical s ...l syntax when referencing variables. Instead of the normal '''$variable''' syntax, use '''$|variable''' to cause a variable to contain values relevant to the
    44 KB (6,986 words) - 17:13, 24 March 2024
  • Example of proposed WML syntax: ...try to refactor current ai parameter handling to make it simpler and less error-prone. I am marking this as SHOULD because this is highly tied to savegame/
    41 KB (7,000 words) - 02:53, 21 March 2013
  • ...imationWML#.5Bif.5D_and_.5Belse.5D|AnimationWML]]), which have a different syntax. ...pport adding or removing elements while looping (and will usually raise an error), use '''[for]''' instead.
    20 KB (3,075 words) - 03:38, 22 February 2024
  • ...he entire file. To help with this, you can set the '''name''' key. When an error is reported, the value of '''name''' will be used shown as if it were the f This short syntax is made possible by a line of the prelude that makes ''W'' a proxy for perf
    22 KB (3,191 words) - 02:14, 25 April 2024
  • ...ents are defined by gettext, here a short explanation about them and their syntax, basically the beginning of the lines defines the type: ...the files this string was extracted from. Basically a filename:linenumber syntax is used. Only one file per line is listed, but several of those lines can b
    22 KB (3,722 words) - 22:57, 8 May 2023
  • ===== Error Packet ===== # Server sends status response, either 'Accepted', 'Error', 'Invalid' response.
    39 KB (6,571 words) - 22:12, 20 March 2014
  • However, it will show an error "Failed to load the scenario" if we try to start. Let's analyse the code st Important syntax information – omit at your own risk unless you read [[SyntaxWML]] or the
    16 KB (2,681 words) - 09:53, 18 January 2022
  • ...de to output accurate line numbers along with the errors and improving the error messages themselves. After that i most probably will have time to make a sc ...lace(eg an [if] tag cannot be in any other tag) and if they have the right syntax
    13 KB (2,298 words) - 01:13, 21 March 2013
  • ...page is a reference guide to the Lua AI functions, variables and component syntax. ...e AI engine in case of an unsuccessful code. The error string for a given error code can be found in file [https://github.com/wesnoth/wesnoth/blob/master/s
    22 KB (3,533 words) - 23:27, 9 April 2024
  • ...ntation of [[SoC Ideas Persistent Gameworld#WML_Syntax|Crab's proposed WML syntax]] for saving/loading persistence data. #* events and syntax -- Completed by June 2
    33 KB (5,376 words) - 00:03, 21 March 2013
  • * Syntax highlighting. ...a non existing map that will be recognized from the builder and marked as error in the eclipse wml editor.
    4 KB (600 words) - 15:51, 30 June 2020
  • local bar = cfg.bar or error("[foo] tag did not have 'bar' attribute") If this lua code is executed, it would make the following syntax be valid WML in your add-on:
    14 KB (2,207 words) - 13:26, 12 February 2021
  • ...a library for implementing in an easy way a DSL editor with auto complete, syntax highlighting, etc. ...use MarkerResolution extension to provide information regarding fixing the error (for example, when an attribute has incorrect type, we can get the correct
    29 KB (4,996 words) - 06:48, 19 April 2023
  • .... Unlike other lua functions, wesnoth.synchronize_choice will NOT throw an error if the table is invalid, but will silently strip out the contents of any in Similar to '''string.format''' but using Wesnoth's variable substitution syntax, and also supporting translatable strings. Any valid WML table can be passe
    21 KB (3,124 words) - 10:01, 7 May 2021
  • * <b>Syntax</b>: The API's syntax. What are the methods published and what are their parameters and return ty * <b>Exceptions/Error Messages</b>: Any exceptions or errors that a user may encounter while usin
    36 KB (6,071 words) - 04:17, 3 May 2023
  • == WML Syntax == **a namespace beginning with "^" is invalid and will generate a WML error, because it is impossible to determine the parent of nothing.
    13 KB (2,073 words) - 21:11, 28 November 2022
  • ...ario], where it would not be counted as ActionWML (but has nearly the same syntax). In most other places, ActionWML code may be ignored or give error messages. In some cases it will be interpreted differently – there are so
    2 KB (305 words) - 09:22, 5 December 2022
  • # Wesnoth Project Explorer - Add error markers just like the Java Explorer has ...e project. My plan is to see if I can reuse the already built AST(Abstract Syntax Tree) and the parse tree, to use those values instead of additional preproc
    27 KB (4,496 words) - 18:16, 24 April 2023
  • ...1.14|10}} Items used for rabbit holes on the map border used to produce an error. Placing them on the map border therefore needed to be avoided on the scena ...rinted. {{DevFeature1.17|6}} In order to enable better error handling, the syntax of this table has been changed. It is now of format <syntaxhighlight lang='
    115 KB (19,006 words) - 17:35, 16 August 2023
  • ...g dragon.cfg] is an example of a basic scenario that still uses the old AI syntax, while [https://github.com/mattsc/Wesnoth-AI-Demos/blob/master/scenarios/he ...erting, moving it will disable those AIs (and possibly result in a Wesnoth error/crash at startup time). In that case, do not move the file, but copy it in
    23 KB (3,948 words) - 03:24, 16 November 2022
  • ==Chapter 1: Syntax== First things first; let's go over the ''syntax'' of WML.
    14 KB (2,433 words) - 19:35, 29 January 2023
  • ...of the directories specified in the binary path, then it will give you an error. To create a binary path, use the following syntax:
    11 KB (1,732 words) - 19:52, 29 January 2023
  • ...'wesnoth.require''' returns an empty table with a metatable that raises an error on any attempt to access it. The full syntax for using the result of this function is:
    40 KB (6,092 words) - 18:12, 17 April 2024
  • ...ng else), you’ll find one, none or many kings of spades. It’s a common error in WML to assume filters will select a single object.<sup>1)</sup> This moves to side 1 all side 2 units except orcs. Please note how filter syntax is after all very close to natural speech. This is why we shall see a good
    40 KB (6,054 words) - 14:13, 21 October 2022
  • ...;"|C++ generator, it generates the POD files and classes from the Abstract Syntax Tree (AST) created by the SQL parser. ...he error. Don't add anything to the protocol to enable this check, use the error catalog and compares the resulting string message.
    25 KB (4,145 words) - 04:51, 8 May 2023
  • ...mmon error to type wrongly a variable name: in WML this don’t rise any error message, but the variable will have no value, giving most probably what you The [[Wesnoth_Formula_Language]] syntax is easy to use, the important thing is to always put the formula in this
    48 KB (6,497 words) - 12:57, 17 July 2019
  • ...tag; should be "root" for the root tag. {{DevFeature1.15|0}} Supports glob syntax, which allows a single '''[tag]''' to match multiple actual tags. Also note ...ture1.15|0}} If set to '''true''', this tag will accept any subtag without error. Known subtags that match a tag definition will be validated as normal; unk
    9 KB (1,575 words) - 06:16, 20 June 2021
  • ...nits.erase(u.x, u.y) -- note: not the same as u:erase(), which would be an error ...no longer valid. Does not work on private units - this usage will raise an error.
    16 KB (2,308 words) - 17:52, 18 April 2024
  • # not strictly required, but needed to silence an error due to code shared with wesnothd <b>Syntax:</b> <code>delete <var>ADDON_ID</var></code>
    10 KB (1,594 words) - 04:36, 17 March 2021
  • ...space will count as two separate arguments. If we used the Wesnoth core's syntax for translatables the third argument would have to look like that: ''( _ "R ...ably macros are badly written or your tags are not opened/closed properly. Error message shown when running the game might say more.
    19 KB (2,809 words) - 15:24, 25 November 2021
  • Auf dieser Seite wird erläutert, welche [[SyntaxWML|WML-Syntax]] innerhalb einer '''.cfg'''-Datei erforderlich ist, damit ein einzelnes Sz ...layers'. Not doing so can result in an [[OOS_(Out_of_Sync) | Out of Sync]] error. Most [event]s are synced across all clients, but a few still have issues.
    6 KB (869 words) - 09:40, 22 February 2022
  • ...e parts into separate variables. If you try to view one in WML and get an error from wml.tostring() about expecting a WML table and not a table, try passin ...er. As of the release of 1.18, it appears to be unfinished so the strange syntax needed to make it work is probably not the best thing to document, and we w
    83 KB (8,010 words) - 20:22, 29 April 2024