author | RedGrinner |
Tue, 07 Dec 2010 22:59:58 +0000 | |
changeset 63 | 24004a9003ec |
parent 62 | 1b1285b140eb |
child 64 | a651a8ab85d5 |
LuaAPI.wiki | file | annotate | diff | comparison | revisions |
--- a/LuaAPI.wiki Mon Dec 06 22:23:45 2010 +0000 +++ b/LuaAPI.wiki Tue Dec 07 22:59:58 2010 +0000 @@ -52,6 +52,11 @@ </blockquote> Can be used to show the mission and for more setup, for example initial target spawning. +=== <tt>onNewTurn()</tt> === + +<blockquote>This function calls at the start of every turn. +</blockquote> + === <tt>onGameTick()</tt> === <blockquote>This function is called on every game tick, i.e. 1000 times a second.