LuaAPI.wiki
changeset 102 86cf695636c6
parent 101 174650a7ce20
child 107 523c7ad720ce
equal deleted inserted replaced
101:174650a7ce20 102:86cf695636c6
     5 
     5 
     6 <blockquote><tt>LAND_WIDTH</tt>, <tt>LAND_HEIGHT</tt>
     6 <blockquote><tt>LAND_WIDTH</tt>, <tt>LAND_HEIGHT</tt>
     7 </blockquote>
     7 </blockquote>
     8 Game flags:
     8 Game flags:
     9 
     9 
    10 <blockquote><tt>gfForts, gfMultiWeapon, gfSolidLand, gfDivideTeams, gfLowGravity, gfLaserSight, gfInvulnerable, gfMines, gfVampiric, gfKarma, gfArtillery, gfOneClanMode, gfRandomOrder, gfKing, gfPlaceHog, gfSharedAmmo, gfDisableGirders, gfExplosives, gfDisableLandObjects, gfAISurvival, gfInfAttack, gfResetWeps, gfPerHogAmmo, gfDisableWind, gfMoreWind, gfTagTeam</tt></blockquote>
    10 <blockquote><tt>gfForts, gfMultiWeapon, gfSolidLand, gfDivideTeams, gfLowGravity, gfLaserSight, gfInvulnerable, gfMines, gfVampiric, gfKarma, gfArtillery, gfOneClanMode, gfRandomOrder, gfKing, gfPlaceHog, gfSharedAmmo, gfDisableGirders, gfExplosives, gfDisableLandObjects, gfAISurvival, gfInfAttack, gfResetWeps, gfResetHealth, gfPerHogAmmo, gfDisableWind, gfMoreWind, gfTagTeam</tt></blockquote>
       
    11 
       
    12 *Note:* A few of these, e.g. gfResetHealth (and probably gfTagTeam) are not yet exposed to lua.
       
    13 
    11 More constants at [GearTypes Gear Types] , [AmmoTypes Ammo Types], [Sounds], [States]
    14 More constants at [GearTypes Gear Types] , [AmmoTypes Ammo Types], [Sounds], [States]
    12 
    15 
    13 Additional global changing variables accessible:
    16 Additional global changing variables accessible:
    14 
    17 
    15  * <tt>!ClansCount</tt> - number of clans in the game (teams with the same color belong to one clan)
    18  * <tt>!ClansCount</tt> - number of clans in the game (teams with the same color belong to one clan)