Search results

  • ...d in file 'data/core/macros/ai.cfg', see the [http://www.wesnoth.org/macro-reference.xhtml#file:ai.cfg list] of available macros or the [https://github.com/wesn Adding a [[Creating_Custom_AIs#Creating_Custom_Candidate_Actions|custom Lua candidate action]] is done as follows
    17 KB (2,693 words) - 15:59, 13 July 2023
  • ...The format of the table is described in [[LuaWML#Encoding WML objects into Lua tables]]. <syntaxhighlight lang=lua>
    5 KB (795 words) - 13:26, 12 February 2021
  • <syntaxhighlight lang=lua> <syntaxhighlight lang=lua>
    14 KB (2,207 words) - 13:26, 12 February 2021
  • <syntaxhighlight lang=lua> items = wesnoth.require "lua/wml/items.lua"
    10 KB (1,465 words) - 20:50, 18 February 2021
  • [[Category: Lua Reference]]
    8 KB (1,082 words) - 13:31, 12 February 2021
  • ...hat window and dumps it to the lua/info log domain (''--log-info=scripting/lua'' on the command-line). The chat line header is "<Lua>" by default, but it can be changed by passing a string before the message.
    32 KB (4,945 words) - 16:24, 29 April 2024
  • This page describes the [[LuaWML]] functions for handling Lua files. Replaces [http://www.lua.org/manual/5.1/manual.html#5.1 basic.dofile] for loading files. Loads the g
    3 KB (496 words) - 13:33, 12 February 2021
  • local helper = wesnoth.require("lua/helper.lua") ...table with another table as the value of a string attribute. Unlike other lua functions, wesnoth.synchronize_choice will NOT throw an error if the table
    21 KB (3,124 words) - 10:01, 7 May 2021
  • * Lua (used in combination with WML to create scenarios) ...() method of the [http://www.boost.org/doc/libs/1_37_0/doc/html/boost_asio/reference/io_service.html asio::io_service] object.
    36 KB (6,071 words) - 04:17, 3 May 2023
  • ...l the locations matching the given filter. Locations are stored as a ''hex reference'' which has x and y keys along with a variety of other functions. See [[Sta ...ghlight lang=lua inline>loc[1]</syntaxhighlight> and <syntaxhighlight lang=lua inline>loc[2]</syntaxhighlight>) is still supported.
    15 KB (2,275 words) - 17:53, 18 April 2024
  • <syntaxhighlight lang=lua> [[Category:Lua Reference]]
    3 KB (386 words) - 18:04, 18 April 2024
  • * [lua] ([[LuaWML]]) which contains Lua code to be executed, and * all tags created from lua in [[LuaWML:Events#wesnoth.wml_actions|wesnoth.wml_actions]] (if they don't
    2 KB (305 words) - 09:22, 5 December 2022
  • <h4>Michael Babich - Improving Lua's User Interface Capabilities</h4> ...to improve the ability for add-ons to customize the user interface through Lua. I will focus on providing simple, but powerful syntax for a set of functio
    35 KB (5,933 words) - 02:38, 24 April 2023
  • ====Jody Northup - Improve and extend Lua AI scripting facilities==== This is the [[SoC_Ideas_LuaAI_2011|Lua AI improvement]] idea.<br/>
    30 KB (4,934 words) - 00:55, 4 May 2023
  • <syntaxhighlight lang=lua> <syntaxhighlight lang=lua>
    4 KB (599 words) - 17:41, 29 April 2024
  • ...a reference to Wesnoth unit on the map, on the recall list, or private to Lua. [[Category:Lua Reference]]
    6 KB (826 words) - 08:32, 17 April 2024
  • [[Category:Lua Reference]]
    5 KB (757 words) - 06:03, 24 December 2022
  • This page therefore only describes one method of creating custom AIs, custom Lua candidate actions. Links to legacy documentation of some of the old method ...thod (now the ''old'' method) of setting up Lua CAs. However, as external Lua CAs are now the standard for creating custom AIs, we drop the 'external' in
    32 KB (5,391 words) - 19:39, 15 July 2020
  • A WML table is a specially-formatted Lua table representing WML tags and values. For more detail on the format of WM <syntaxhighlight lang=lua>
    16 KB (2,332 words) - 17:56, 18 April 2024
  • This page provides information on the Google Code-in Wesnoth Lua AI tasks. If you need additional help, the preferred way of contacting us ...') and with the '''Lua''' programming language. If you do not know WML or Lua yet, but are familiar with coding in other languages, you can probably acqu
    23 KB (3,948 words) - 03:24, 16 November 2022

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