Difference between revisions of "Lua:Tick"

From Fortress Forever Wiki
Jump to navigationJump to search
 
Line 1: Line 1:
 
{{Infobox manual/Header}}
 
{{Infobox manual/Header}}
This function is called every second by the engine. Note that this function is in use by base.lua, so should not be declared again. To interface with this command, it must be [[hooked]]. A better method would be to use the scheduling interface may be found in the scheduling section of the API.
+
This function is called every second by the engine. Note that this function is in use by base.lua, so should not be declared again. To interface with this command, it must be [[hooked]]. A better method would be to use the [[:Category:Schedules|scheduling interface]].
  
[[Category:Lua Commands]]
+
[[Category:Lua Callbacks]]
 
{{Infobox manual/Footer}}
 
{{Infobox manual/Footer}}

Latest revision as of 14:56, 11 May 2009


This function is called every second by the engine. Note that this function is in use by base.lua, so should not be declared again. To interface with this command, it must be hooked. A better method would be to use the scheduling interface.