GearTypes.wiki
changeset 1912 94899e4fabe6
parent 1887 e2abe908d18d
child 1914 180d42ef766d
equal deleted inserted replaced
1911:96efcb3f08bd 1912:94899e4fabe6
   598 
   598 
   599  * `Pos`: Ammo classification: 1=weapon, 4=utility
   599  * `Pos`: Ammo classification: 1=weapon, 4=utility
   600  * `Power`: Ammo count. 0: Use weapon scheme default. 100 or greater: infinite (default: 0)
   600  * `Power`: Ammo count. 0: Use weapon scheme default. 100 or greater: infinite (default: 0)
   601 
   601 
   602 ==== `gtATStartGame` ====
   602 ==== `gtATStartGame` ====
   603 This gear is created to mark the beginning of the game. It will cause a ticker message to be displayed (“Let's fight!”) and sets some internal stuff.
   603 This gear is created to mark the beginning of the game. It will cause a ticker message to be displayed (“Let's fight!”) and sets some internal stuff. This gear shouldn't be created in Lua.
   604 
   604 
   605 ==== `gtATFinishGame` ====
   605 ==== `gtATFinishGame` ====
   606 This gear is created at the end of the game. The gear itself will fade out the screen and cause the game to be closed. Note: If you want to end the game early, we recommend to call the `EndGame` function instead of using this gear.
   606 This gear is created at the end of the game. The gear itself will fade out the screen and cause the game to be closed. Note: This gear shouldn't be created in Lua. If you want to end the game early, we recommend to call the `EndGame` function.
   607 
   607 
   608  * `Timer`: Fade-out countdown in milliseconds. Fade-out begins at 1000 and finishes at 0.
   608  * `Timer`: Fade-out countdown in milliseconds. Fade-out begins at 1000 and finishes at 0.
   609 
   609 
   610 ==== `gtGenericFaller` ====
   610 ==== `gtGenericFaller` ====
   611 This gear behaves like a virtual ball. It collides with its surroundings and bounces around but doesn't affect the environment or other gears in any way. It appears as a red circle, unless it is made invisible by setting the gear state. It also supports the gear state `gstNoGravity`. It gets automatically destroyed when its `Timer` is up.
   611 This gear behaves like a virtual ball. It collides with its surroundings and bounces around but doesn't affect the environment or other gears in any way. It appears as a red circle, unless it is made invisible by setting the gear state. It also supports the gear state `gstNoGravity`. It gets automatically destroyed when its `Timer` is up.