Search results

  • ..."my_filter_functions.goto" will correctly use the function which in actual Lua code would need to be referenced as <code>my_filter_functions["goto"]</code ...tterns which will be processed in order. As soon as a pattern matching the reference terrain is found, the result of the filter will be determined.
    13 KB (2,103 words) - 21:57, 22 May 2024
  • ...one of <tt>images</tt>, <tt>sounds</tt>, <tt>music</tt>, or <tt>maps</tt>. Lua can define additional types as well. [[Category: WML Reference]]
    3 KB (584 words) - 14:35, 23 July 2023
  • This WML reference contains the current WML syntax and Lua API for the stable branch. However, the development version of the game is
    2 KB (247 words) - 08:45, 27 June 2024
  • ...ontrol logic'' (such as event handling, done using C++ or Lua). The C++ or Lua code is also reponsible for actually loading the WML and showing the widget ...iple widgets inside (''containers'', see below). ([[GUIWidgetDefinitionWML|Reference]])
    12 KB (1,909 words) - 15:05, 22 September 2024
  • ...y included using the WML preprocessor, though they could also be loaded in Lua with [[LuaAPI/filesystem#filesystem.read_file|filesystem.read_file]]. * Formulas compiled from [[LuaAPI/wesnoth#wesnoth.compile_formula|Lua]]
    55 KB (8,239 words) - 17:42, 21 September 2024
  • [[Category:Lua Reference]]
    6 KB (860 words) - 18:05, 18 April 2024
  • ...Location Filter]] that produced them, and a [[#Dynamic_Lua_Aspects|dynamic Lua aspect]] will return the result of calling the function, not the function i *:<syntaxhighlight lang=lua>
    12 KB (1,806 words) - 00:39, 11 February 2024
  • '''Example''': <syntaxhighlight lang=lua inline>mathx.lerp_index({12, 32, 8, 97}, 0.27})</syntaxhighlight> returns 3 ...y [set_variable]rand=. This function has the same interface as [http://www.lua.org/manual/5.2/manual.html#pdf-math.random math.random] so it can take 0, 1
    4 KB (614 words) - 17:47, 21 September 2024
  • ...lso be read as '''[1]''' and '''[2]'''. If you assign the coordinates, the reference will instantly point to a new hex. [[Category:Lua Reference]]
    4 KB (562 words) - 22:26, 17 December 2023
  • During the beta/RC/stable stages, no API changes (e.g., Lua/WML interfaces or semantics) should be made , nor large-scale or destabiliz # Upload to files.wesnoth.org (path for reference purposes only,
    16 KB (2,543 words) - 13:51, 27 July 2024
  • ...and/or customized using both [[AiWML|WML]] or [[LuaAI#Dynamic_Lua_Aspects|Lua]]. ...know that the components can be written in three different languages, C++, Lua and Formula AI (FAI). Information on how to do this is provided in the lin
    39 KB (6,503 words) - 19:15, 8 August 2024
  • ai_development, ai, artificial_intelligence, lua, multiplayer, game_development, c++, game_engine, game, games, graphics, se ...now wants to take responsibility for a student. He is one of our resident lua experts and also handles several tasks reaching over into automated testing
    23 KB (3,846 words) - 19:14, 20 February 2015
  • This page contains a summary of the major Lua API changes between 1.12 and 1.15, to help make updating older code simpler **<syntaxhighlight lang=lua>
    24 KB (3,455 words) - 15:08, 15 June 2024
  • ...anything is shown on the screen at all. Can be used to set up the [[LuaWML|Lua]] environment: loading libraries, defining helper functions, etc. * Units placed by the wesnoth.put_unit() Lua function
    44 KB (7,054 words) - 06:46, 5 August 2024
  • ...g/macro-reference.xhtml#FOREACH FOREACH] and [http://www.wesnoth.org/macro-reference.xhtml#NEXT NEXT] macros. Note: This macro is deprecated; you should just us ...pecified number of times. To use it, use the [http://www.wesnoth.org/macro-reference.xhtml#REPEAT REPEAT] macro.
    20 KB (3,075 words) - 03:38, 22 February 2024
  • == The '''[lua]''' tag == ...e used. It makes it possible to write actions with the [http://www.lua.org Lua 5.4] language.
    23 KB (3,292 words) - 23:54, 11 September 2024
  • [lua] [/lua]
    3 KB (570 words) - 15:12, 30 November 2017
  • ...Links are provided to detailed documentation on each of the topics. For reference, we also provide a brief timeline describing some of the main development m ...l components which can be customized and modified in both WML and [[LuaWML|Lua]]. Documentation on the available AI tools can be found at:
    8 KB (1,228 words) - 18:21, 19 July 2020
  • <syntaxhighlight lang=lua> [[Category:Lua Reference]]
    6 KB (970 words) - 00:44, 26 October 2024
  • ** A table of the form <syntaxhighlight lang=lua inline>{filter_type = filter_contents}</syntaxhighlight>. The possible filt <syntaxhighlight lang=lua>
    16 KB (2,650 words) - 03:21, 13 September 2024

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