# HG changeset patch # User RedGrinner # Date 1291762798 0 # Node ID 24004a9003ec08a6869e84e17cad152f02e25d25 # Parent 1b1285b140ebde00a4ea34ef07802847246e9af7 Edited wiki page LuaAPI through web user interface. 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.