LuaAPI.wiki
changeset 16 89f22a959bb8
parent 13 2074f03075c6
child 17 2893bd461cc7
equal deleted inserted replaced
15:b36d8254781a 16:89f22a959bb8
    11 More constants at [GearTypes Gear Types] , [AmmoTypes Ammo Types], [Sounds], [States]
    11 More constants at [GearTypes Gear Types] , [AmmoTypes Ammo Types], [Sounds], [States]
    12 
    12 
    13 Additional global changing variables accessible:
    13 Additional global changing variables accessible:
    14 
    14 
    15  * <tt>!TurnTimeLeft</tt> - number of game ticks left until the current turn ends
    15  * <tt>!TurnTimeLeft</tt> - number of game ticks left until the current turn ends
    16  * <tt>!ClansCount</tt> - number of clans in the game, i.e. number of players
    16  * <tt>!ClansCount</tt> - number of clans in the game (teams with the same color belong to one clan)
    17 
    17 
    18 == Event Handlers ==
    18 == Event Handlers ==
    19 
    19 
    20 === <tt>onGameInit()</tt> ===
    20 === <tt>onGameInit()</tt> ===
    21 
    21