LuaAPI.wiki
changeset 997 97eba4395dfd
parent 996 9d49deef533c
child 1003 a4f8e22e15c6
equal deleted inserted replaced
996:9d49deef533c 997:97eba4395dfd
   919 Sets the current wind in the range of -100 to 100. Use together with `gfDisableWind` for full control.
   919 Sets the current wind in the range of -100 to 100. Use together with `gfDisableWind` for full control.
   920 
   920 
   921 ==== <tt>!SetMaxBuildDistance(distInPx)</tt> (0.9.22) ====
   921 ==== <tt>!SetMaxBuildDistance(distInPx)</tt> (0.9.22) ====
   922 Sets the maximum building distance for of girders and rubber bands in pixels to `distInPx`. If `distInPx` is `0`, the limit is disabled. If called without arguments, the distance will be reset to the default value.
   922 Sets the maximum building distance for of girders and rubber bands in pixels to `distInPx`. If `distInPx` is `0`, the limit is disabled. If called without arguments, the distance will be reset to the default value.
   923 
   923 
       
   924 ==== <tt>!EndTurn([noTaunts])</tt> (0.9.23) ====
       
   925 Ends the current turn.
       
   926 
       
   927 Normally, a “Coward” taunt may be played and an announcer message may be shown (depending on the situation). Set the optional `noTaunts` parameter to `true` to force the engine to never play a taunt or show a message. `noTaunts` is `false` by default.
       
   928 
   924 ==== <tt>!EndGame()</tt> ====
   929 ==== <tt>!EndGame()</tt> ====
   925 Makes the game end.
   930 Makes the game end.
   926 
   931 
   927 === Ammo ===
   932 === Ammo ===
   928 ==== <tt>!SetAmmo(ammoType, count, probability, delay, numberInCrate)</tt> ====
   933 ==== <tt>!SetAmmo(ammoType, count, probability, delay, numberInCrate)</tt> ====