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 | :: CollisionMaskConnector | 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 | :: array[Vector] | If multiple offsets are specified, multiple entities are created. [...] |
If multiple offsets are specified, multiple entities are created. [...] | ||
as_enemy optional | :: bool | If true, creates the entity as a member of the enemy force. [...] |
If true, creates the entity as a member of the enemy force. [...] | ||
ignore_no_enemies_mode optional | :: bool | If true and |
If true and | ||
find_non_colliding_position optional | :: bool | |
non_colliding_search_radius optional | :: double | |
non_colliding_search_precision optional | :: double | |
non_colliding_fail_result optional | :: Trigger | Only loaded if |
Only loaded if | ||
protected optional | :: bool | The result entity will be protected from automated attacks of enemies. |
The result entity will be protected from automated attacks of enemies. |
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" | |
as_enemy optional | :: bool | If true, creates the entity as a member of the enemy force. [...] |
If true, creates the entity as a member of the enemy force. [...] | ||
check_buildability optional | :: bool | |
find_non_colliding_position optional | :: bool | |
ignore_no_enemies_mode optional | :: bool | If true and |
If true and | ||
non_colliding_fail_result optional | :: Trigger | Only loaded if |
Only loaded if | ||
non_colliding_search_precision optional | :: double | |
non_colliding_search_radius optional | :: double | |
offset_deviation optional | :: BoundingBox | |
offsets optional | :: array[Vector] | If multiple offsets are specified, multiple entities are created. [...] |
If multiple offsets are specified, multiple entities are created. [...] | ||
protected optional | :: bool | The result entity will be protected from automated attacks of enemies. |
The result entity will be protected from automated attacks of enemies. | ||
tile_collision_mask optional | :: CollisionMaskConnector | 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.
Default: false
If true, creates the entity as a member of the enemy force. If the surface.no_enemies_mode is true, the entity will not be created.
Default: false
If true and as_enemy
is true, allows the entity to be created even if the current surface.no_enemies_mode is true.
Default: 5
Default: 0.2
Only loaded if find_non_colliding_position
is defined.