changeset 1839 | 198bfa280caa |
parent 1822 | fc9a202d27ba |
child 1867 | 984a0cf6b491 |
--- 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].