Documentation: ExplosionComponent
Jump to navigation
Jump to search
Name | Type | Initial Value | Example Range | Description |
---|---|---|---|---|
Members | ||||
timeout_frames | int | 0 | [0, 180] | for timer |
timeout_frames_random | int | 0 | [0, 180] | a random value between 0 and 'timout_frames_random' is added to timer |
kill_entity | bool | true | if 1, we kill the entity when exploding | |
mTimerTriggerFrame | int | -1 | [0, 1] | |
Objects | ||||
config_explosion | ConfigExplosion | setup for out explosion | ||
Custom data types | ||||
trigger | EXPLOSION_TRIGGER_TYPE::Enum | ON_CREATE | what triggers the explosion |