Inherits from TriggerEffectItem |
type | :: "create-entity" | |
entity_name | :: EntityID | The name of the entity that should be created. |
The name of the entity that should be created. | ||
offset_deviation optional | :: BoundingBox | |
trigger_created_entity optional | :: bool | If |
If | ||
check_buildability optional | :: bool | |
tile_collision_mask optional | :: CollisionMask | Entity creation will not occur if any tile matches the collision condition. [...] |
Entity creation will not occur if any tile matches the collision condition. [...] | ||
offsets optional | :: Vector or array[Vector] | If multiple offsets are specified, multiple entities are created. [...] |
If multiple offsets are specified, multiple entities are created. [...] |
repeat_count optional | :: uint16 | |
repeat_count_deviation optional | :: uint16 | |
probability optional | :: float | Must be greater than |
Must be greater than | ||
affects_target optional | :: bool | |
show_in_tooltip[overridden] optional | :: bool | |
damage_type_filters optional | :: DamageTypeFilters | Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. [...] |
Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. [...] |
entity_name | :: EntityID | The name of the entity that should be created. |
The name of the entity that should be created. | ||
type | :: "create-entity" | |
check_buildability optional | :: bool | |
offset_deviation optional | :: BoundingBox | |
offsets optional | :: Vector or array[Vector] | If multiple offsets are specified, multiple entities are created. [...] |
If multiple offsets are specified, multiple entities are created. [...] | ||
tile_collision_mask optional | :: CollisionMask | Entity creation will not occur if any tile matches the collision condition. [...] |
Entity creation will not occur if any tile matches the collision condition. [...] | ||
trigger_created_entity optional | :: bool | If |
If |
affects_target optional | :: bool | |
damage_type_filters optional | :: DamageTypeFilters | Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. [...] |
Guaranteed to work with EntityWithHealthPrototype::damaged_trigger_effect and EntityWithHealthPrototype::dying_trigger_effect. [...] | ||
probability optional | :: float | Must be greater than |
Must be greater than | ||
repeat_count optional | :: uint16 | |
repeat_count_deviation optional | :: uint16 | |
show_in_tooltip[overridden] optional | :: bool |
The name of the entity that should be created.
Default: false
If true
, the on_trigger_created_entity event will be raised.
Entity creation will not occur if any tile matches the collision condition. Defaults to no collisions.
If multiple offsets are specified, multiple entities are created. The projectile of the Distractor capsule uses this property to spawn three Distractors.