Home

CreateEntityTriggerEffectItem

Type

struct

Properties

type

entity_name

The name of the entity that should be created.

offset_deviation

trigger_created_entity

If true, the on_trigger_created_entity event will be raised.

check_buildability

show_in_tooltip

only_when_visible

Create the entity only when they are within a 200 tile range of any connected player.

tile_collision_mask

Entity creation will not occur if any tile matches the collision condition. Defaults to no collisions.

offsets

If multiple offsets are specified, multiple entities are created. The projectile of the Distractor capsule uses this property to spawn three Distractors.

as_enemy

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.

ignore_no_enemies_mode

If true and as_enemy is true, allows the entity to be created even if the current surface.no_enemies_mode is true.

find_non_colliding_position

abort_if_over_space

non_colliding_search_radius

non_colliding_search_precision

non_colliding_fail_result

Only loaded if find_non_colliding_position is defined.

protected

The result entity will be protected from automated attacks of enemies.