GearTypes.wiki
changeset 1236 5011c573bded
parent 1214 935c89850888
child 1247 6ebe1b8eb081
equal deleted inserted replaced
1235:dae4580eca94 1236:5011c573bded
   112 
   112 
   113 If the crate has just been collected, the gear message flag `gmDestroy` will be set before `onGearDelete` is called.
   113 If the crate has just been collected, the gear message flag `gmDestroy` will be set before `onGearDelete` is called.
   114 
   114 
   115  * `Pos`: Crate type: 1=ammo crate, 2=health crate, 4=utility crate (also see below)
   115  * `Pos`: Crate type: 1=ammo crate, 2=health crate, 4=utility crate (also see below)
   116  * `Tag`: Used for the appear animation
   116  * `Tag`: Used for the appear animation
   117  * `Health`: Amount of health contained in a health crate
   117  * `Health`: Amount of health contained in a health crate. This value should not be negative
   118  * `Power`: Ammo count in an ammo or utility crate. 0: Use weapon scheme default. 100 or greater: infinite (default: 0)
   118  * `Power`: Ammo count in an ammo or utility crate. 0: Use weapon scheme default. 100 or greater: infinite (default: 0)
   119  * `Boom`: Explosion size and damage (default: 25)
   119  * `Boom`: Explosion size and damage (default: 25)
   120 
   120 
   121 We recommend you to use `SpawnAmmoCrate` and the like to crate crate gears instead of `AddGear`.
   121 We recommend you to use `SpawnAmmoCrate` and the like to crate crate gears instead of `AddGear`.
   122 
   122