author | Wuzzy |
Fri, 19 Apr 2019 23:42:33 +0100 | |
changeset 1839 | 198bfa280caa |
parent 1838 | d063acf2e046 |
child 1840 | 37d979124fc4 |
LuaEvents.wiki | file | annotate | diff | comparison | revisions |
--- a/LuaEvents.wiki Fri Apr 19 23:41:28 2019 +0100 +++ b/LuaEvents.wiki Fri Apr 19 23:42:33 2019 +0100 @@ -1,4 +1,5 @@ #summary List of event handlers in the Lua API +#labels !LuaFunctions = Lua API: Event handlers = Event handlers are [LuaAPI Lua] functions that Hedgewars calls on certain events. Lua scripts are supposed to _define_ these functions to do something. The functions are then _called_ by Hedgewars when a certain event has occured. For an example of how this works, see [LuaGuide].