LuaAPI.wiki
changeset 125 b0b7654c6de6
parent 123 d6f33f6d142a
child 126 e57ef70926d2
equal deleted inserted replaced
124:a31180aa9b1a 125:b0b7654c6de6
     3 
     3 
     4 == Global available Constants ==
     4 == Global available Constants ==
     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 <blockquote><tt>ScreenWidth</tt>, <tt>ScreenHeight</tt></blockquote>
       
     9 
     8 Game flags:
    10 Game flags:
     9 
    11 
    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>
    12 <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 
    13 
    12 *Note:* A few of these, e.g. gfResetHealth (and probably gfTagTeam) are not yet exposed to lua.
    14 *Note:* A few of these, e.g. gfResetHealth (and probably gfTagTeam) are not yet exposed to lua.