Search results

Page title matches

  • reasons. Here, we shall try to explain how to use them with more details than in the reference wiki pages. But the goal is not to replace these pages, and we assume you have at least some
    40 KB (6,054 words) - 14:13, 21 October 2022

Page text matches

  • ...ity functions that are useful for implementing custom Action WML tags. All examples on this page will assume it has been loaded by: local utils = wesnoth.require "wml-utils"
    6 KB (947 words) - 18:05, 18 April 2024
  • instead, they show something to the player. The main interface tags ...ght up with [[CommandMode|the ''':inspect''' command]]), which can be used to inspect the values of WML variables, AI configuration, recall lists, and mo
    46 KB (7,208 words) - 23:30, 16 April 2024
  • ...oves, what '''candidate actions''', '''aspects''' and '''goals''' are, and how they interact. If you do not know these things yet, check out the [[RCA AI ...inning of a scenario with [ai] tags inside the [side] tags. They are used to customize certain aspects of the AI. The [ai] tag, when used for this purp
    35 KB (5,668 words) - 01:32, 25 February 2024
  • ...scribe one modification to a unit. Any number of [effect] tags can be used to describe a complete modification. ...ct]]] with a limited ''duration'' to apply an [effect] will cause the unit to be rebuilt without the effect's effects when the duration expires.
    23 KB (3,459 words) - 16:23, 15 April 2024
  • Map Generator WML is used to create scenarios which are randomly generated. Of course, any scenario may * Wesnoth has several built-in map generators which can be configured with options, and these are much b
    17 KB (2,666 words) - 18:04, 26 July 2022
  • ...t do not directly affect game play (or, at least, are not readily apparent to the player). For example, storing a variable is an internal action. ...riablesWML|variables]]. Creating them, modifying them, capturing game data to them, you name it, these actions are all about the variables.
    37 KB (5,920 words) - 05:49, 27 February 2024
  • A ''filter'' is a special WML block. Filters are used to describe a set of units, hexes, weapons or something else.
    9 KB (1,508 words) - 10:39, 11 November 2023
  • When a unit filter is applied to a map, first it applies to all units on the field, Next it applies to units in the recall list.
    13 KB (1,965 words) - 15:41, 26 April 2024
  • ...subdirectories containing the _server.pbl file will be published. Your add-on must be based entirely on these paths. ...not done so, and [[Distributing_content]] for more on uploading an add-on to the server with this file.
    13 KB (1,973 words) - 08:08, 19 April 2024
  • ...nside the [event] when Konrad moved onto tile 4,8. To do so we had to make use of the variables x,y and description. ...store 'Hello World' in a variable named ''message_to_the_world''. This is how we would do this:
    7 KB (1,140 words) - 08:24, 23 April 2021
  • ...store_locations]. Generally, if the tag [filter_location] is not mentioned to be a possible subtag of the outer tag in question, then don't put it. The following attributes and sub-tags are permitted:
    13 KB (2,092 words) - 14:57, 26 February 2024
  • This page contains basic examples of WML. For more examples, you can look at the data of Wesnoth using a text editor.
    4 KB (448 words) - 18:49, 11 March 2014
  • ...bstitution|<code>$(formula)</code> substitution]] syntax, which allows the use of formulas wherever variables are parsed, but it can also be used in [[Fil ...al meaning in WML. Some locations (for example unit abilities) require you to enclose the formula in parentheses, taking the value as a simple number oth
    48 KB (7,291 words) - 01:30, 30 March 2024
  • If you are such a person, you should feel free to edit this page. .... A coder with better knowledge of the code might give you the green light to add your feature here.
    16 KB (2,620 words) - 23:00, 21 March 2024
  • {| class="wikitable" style="text-align: center;" That applies to both the code and these wiki pages.
    16 KB (2,683 words) - 15:21, 7 April 2023
  • ...ag is a subtag of the [scenario], [unit_type] and [era] tags which is used to describe a set of [[ActionWML|actions]] which trigger at a certain point in ...t in most discussions and the event handlers are therefore simply referred to as "events" in this documentation.''
    44 KB (6,986 words) - 17:13, 24 March 2024
  • ...r list? If that is the case, what project did you select? What do you want to especially concentrate on?''' Description of my proposal on how to tackle this project can be found here: [[Zaroth_Multiplayer_Improvements#Pl
    44 KB (7,542 words) - 19:06, 5 May 2023
  • ...as [[ConditionalActionsWML#.5Blua.5D|ConditionalWML]] It makes it possible to write actions with the [http://www.lua.org Lua 5.4] language. {{DevFeature1.13|?}} It is also possible to put this tag inside a [scenario] [[ScenarioWML]], those tags will be execut
    22 KB (3,191 words) - 02:14, 25 April 2024
  • ...a summary of the available documentation. This page is a reference guide to the Lua AI functions, variables and component syntax. ...ation]] and [[Creating_Custom_AIs#Execution_Function|execution]] functions to code the desired AI behavior.
    22 KB (3,533 words) - 23:27, 9 April 2024
  • Variables in WML are used to store data for later retrieval. Each variable is identified by its name. On ...are case-sensitive. Though technically permitted, it is recommended not to use an underscore as the first character of a variable name.
    21 KB (3,325 words) - 16:25, 24 February 2024

View (previous 20 | next 20) (20 | 50 | 100 | 250 | 500)