LuaEvents.wiki
changeset 2087 24d84bcaa5d5
parent 2077 514babfbad9e
child 2092 132b6ed4e724
equal deleted inserted replaced
2086:0f8d2e38dec1 2087:24d84bcaa5d5
     1 #summary List of event handlers in the Lua API
     1 #summary List of event handlers in the Lua API
     2 #labels !LuaFunctions
     2 #labels !LuaFunctions
     3 
     3 
     4 = Lua API: Event handlers =
     4 = Lua API: Event handlers =
       
     5 
     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].
     6 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].
     6 
     7 
     7 This page is a list of all supported event handlers in Hedgewars.
     8 This page is a list of all supported event handlers in Hedgewars.
     8 
     9 
     9 <wiki:toc max_depth="3" />
    10 <wiki:toc max_depth="3" />