Search results

  • ...or ID is required. If '''menu_item''' is true, the name defaults to "menu item id", where "id" is the same ID as below. ...gistered. Default is an empty string. Required if '''menu_item''' is true. Note that either a name or ID is required for any event.
    16 KB (2,629 words) - 14:14, 20 April 2024
  • Content note: this campaign has minor depictions of blood and gore. ...e if its wielder dies, and can be dropped by right-clicking. Picking up an item consumes your moves and attack.</small>
    57 KB (9,844 words) - 08:00, 20 June 2024
  • ...d the entered values are translated into WML variables in the game. Please note that the option variables are initialized in a prestart event, therefore th ** '''[item]''': adds an item to the combo box.
    3 KB (467 words) - 01:38, 25 February 2024
  • ...the name of the action. Argument 2 is the WML table describing the action. Note: WML variables are substituted. Note: When calling an action handler directly through its function stored in ''w
    14 KB (2,207 words) - 13:26, 12 February 2021
  • ...d by a table supporting the same fields as [[InterfaceActionsWML|[item]]]. Note that the overlay is not kept over save/load cycles. Places an image at a given location and registers it as a WML ''[item]'' would do, so that it can be restored after save/load.
    10 KB (1,465 words) - 20:50, 18 February 2021
  • Argument 4: boolean, whether to fire any select events (def: false). Note: currently (1.14.1), this argument has no effect (events are never fired). ...e or more more times if an integer value is provided as a second argument (note that the sound is ''repeated'' the number of times specified in the second
    32 KB (4,945 words) - 16:24, 29 April 2024
  • Note: wesnoth.game_config.mp_settings, and wesnoth.game_config.era, will only ex wesnoth.message(string.format("Selected item: %d", result.value))
    21 KB (3,124 words) - 10:01, 7 May 2021
  • ...ce, assume that completing a campaign on hard mode should unlock a special item in subsequent playthroughs of this campaign. With a persistent variable, th | NOTE: Because of the interaction between persistent variable transactions and us
    13 KB (2,073 words) - 21:11, 28 November 2022
  • ** note: [event] can also be a subtag of [unit], [era] and [scenario], where it wou ...nd also have similar or different meanings in other places, like [event], [item], or [object].
    2 KB (305 words) - 09:22, 5 December 2022
  • '''Note:''' The '''gui.widget.set_callback''' is a compatibility wrapper and is uns * '''gui.widget.add_item'''(''widget'', [''position'']) &rarr; ''the new item'', ''position''
    4 KB (599 words) - 17:41, 29 April 2024
  • Please note: Often campaigns introducing new mechanics are listed as expert level on th Please note: If you didn't play the campaign, write the difficulty written on the add-o
    36 KB (5,553 words) - 02:35, 8 June 2024
  • ** We also note that, because all the Micro AIs are written in Lua, it is possible to [[Mic ** ''change'': Change the configuration of an existing Micro AI. Note that this does not only change the specific parameters provided in the tag,
    115 KB (19,006 words) - 17:35, 16 August 2023
  • Gets the language the UI is currently set to. Note that this may return an empty string if using the system default language. ...called once), while the read function is only responsible for loading one item (and is called several times).
    40 KB (6,092 words) - 18:12, 17 April 2024
  • ...speech: β€œis card (colour=spades OR colour=diamonds) AND value=king ?” Note '''There are some things important to note:'''
    40 KB (6,054 words) - 14:13, 21 October 2022
  • '''Player note:''' * add your overall rating here (1-10) '''Player Note:''' 10
    60 KB (10,139 words) - 10:41, 11 August 2015
  • ...re always safe and correctly interpreted by the engine as variables names. Note that some special characters are forbidden in variable names: '''$ , . | {} ...an one variable: {CLEAR_VARIABLE simpleVariable,anotherOne,count} [[Please note the CLEAR_VARIABLE macro will not work if your variables names contain spac
    48 KB (6,497 words) - 12:57, 17 July 2019
  • ...ts''': if set, the path will go through units and ignore zones of control. Note: hidden enemies are always ignored, whether this parameter is set or not, u wml.fire("item", { x = loc[1], y = loc[2], image = "items/buckler.png" })
    9 KB (1,438 words) - 17:53, 18 April 2024
  • wesnoth.interface.add_chat_message(string.format("Selected item: %d", result.value)) '''Note:''' The return value must be a valid WML table - the same kind of thing you
    5 KB (833 words) - 17:53, 18 April 2024
  • This function returns the index of the selected item. If the user cancelled by clicking outside the menu's boundary, 0 is return '''IMPORTANT NOTE: this function is broken in Wesnoth 1.16.0 and 1.16.1.''' If you wish to us
    11 KB (1,801 words) - 17:37, 20 May 2024
  • | titles=Prince of Stormvale<br>Dragonbane{{Note pointer|no=1}}<br>King of Wesnoth ...o purge them from the island, although Haldric was cursed in the process.{{Note pointer|no=2|instance=1}} Having purged the undead from the island, they se
    31 KB (5,084 words) - 01:17, 10 April 2023

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