LuaEvents.wiki
changeset 1839 198bfa280caa
parent 1822 fc9a202d27ba
child 1867 984a0cf6b491
equal deleted inserted replaced
1838:d063acf2e046 1839:198bfa280caa
     1 #summary List of event handlers in the Lua API
     1 #summary List of event handlers in the Lua API
       
     2 #labels !LuaFunctions
     2 
     3 
     3 = Lua API: Event handlers =
     4 = Lua API: Event handlers =
     4 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].
     5 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].
     5 
     6 
     6 This page is a list of all supported event handlers in Hedgewars.
     7 This page is a list of all supported event handlers in Hedgewars.