Prototype/LandMine
Revision as of 16:05, 3 June 2018 by Bilka (talk | contribs) (Created page with "== Basics == A land mine. Extends Prototype/EntityWithHealth. == Mandatory properties == This prototype inherits all the properties from [[Prototype/EntityWithHealth]...")
Basics
A land mine. Extends Prototype/EntityWithHealth.
Mandatory properties
This prototype inherits all the properties from Prototype/EntityWithHealth.
picture_safe
Type: Types/Sprite
The sprite of the landmine before it is armed (just after placing).
picture_set
Type: Types/Sprite
The sprite of the landmine of a friendly force when it is armed.
trigger_radius
Type: Types/double
Optional properties
picture_set_enemy
Type: Types/Sprite
The sprite of the landmine of an enemy force when it is armed.
timeout
Type: Types/uint32
Default: 120
Time between placing and the landmine being armed, in ticks.
action
Type: Types/Trigger
ammo_category
Type: Types/string
Name of a Prototype/AmmoCategory.
force_die_on_attack
Type: Types/bool
Default: true
Force the landmine to kill itself when exploding.