Prototype/LandMine: Difference between revisions
Jump to navigation
Jump to search
(Added prototype type to page) |
(→Optional properties: 0.17) |
||
Line 48: | Line 48: | ||
Force the landmine to kill itself when exploding. | Force the landmine to kill itself when exploding. | ||
=== trigger_force === | |||
'''Type''': [[Types/ForceCondition]] | |||
'''Default''': "enemy" |
Revision as of 15:28, 11 March 2019
Basics
Prototype type: land-mine
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.
trigger_force
Type: Types/ForceCondition
Default: "enemy"