Prototype/SmokeWithTrigger: Difference between revisions
Jump to navigation
Jump to search
m (typo) |
(→Optional properties: 0.18.12) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
{{Prototype parent|Prototype/Smoke}} | {{Prototype parent|Prototype/Smoke}} | ||
An entity with animation and a trigger. | |||
{{Prototype TOC|smoke-with-trigger}} | |||
Prototype | |||
== Optional properties == | == Optional properties == | ||
This prototype inherits all the properties from [[Prototype/Smoke]]. | This prototype inherits all the properties from [[Prototype/Smoke]]. | ||
=== | {{Prototype property|action|[[Types/Trigger|Trigger]]|optional=true}} | ||
{{Prototype property|action_cooldown|[[Types/uint32|uint32]]|0 (means never apply)|optional=true}} | |||
{{Prototype property|particle_count|[[Types/uint8|uint8]]|1|optional=true}} | |||
{{Prototype property|particle_distance_scale_factor|[[Types/float|float]]|0.0f|optional=true}} | |||
{{Prototype property|spread_duration_variation|[[Types/uint32|uint32]]|0|optional=true}} | |||
{{Prototype property|particle_duration_variation|[[Types/uint32|uint32]]|0|optional=true}} | |||
{{Prototype property|particle_spread|[[Types/vector|vector]]|optional=true}} | |||
{{Prototype property|particle_scale_factor|[[Types/vector|vector]]|optional=true}} | |||
{{Prototype property|wave_distance|[[Types/vector|vector]]|optional=true}} | |||
{{Prototype property|wave_speed|[[Types/vector|vector]]|optional=true}} |
Latest revision as of 12:48, 16 March 2020
Prototype definitions » PrototypeBase » Prototype/Entity » Prototype/Smoke » Prototype/SmokeWithTrigger
An entity with animation and a trigger.
Optional properties
This prototype inherits all the properties from Prototype/Smoke.
action
Type: Trigger
action_cooldown
Type: uint32
Default: 0 (means never apply)
particle_count
Type: uint8
Default: 1
particle_distance_scale_factor
Type: float
Default: 0.0f
spread_duration_variation
Type: uint32
Default: 0
particle_duration_variation
Type: uint32
Default: 0
particle_spread
Type: vector
particle_scale_factor
Type: vector
wave_distance
Type: vector
wave_speed
Type: vector