diff -r 1b1285b140eb -r 24004a9003ec LuaAPI.wiki --- 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 @@ Can be used to show the mission and for more setup, for example initial target spawning. +=== onNewTurn() === + +
This function calls at the start of every turn. +
+ === onGameTick() ===
This function is called on every game tick, i.e. 1000 times a second.