EntSpawner

Spawner
Spawn and launch entities with velocity / spread

ID: EntSpawner
Base Type: Entity Component

Values

Name

Type

Description

Spawn Effect

Effect Variable

Spawn Entity Asset

Entity Asset Variable

Spawning

Bool Variable

Defaults to True

Fire Rate

Number Variable

Defaults to 1 - s

Fire Immediately

Bool Variable

If true the spawner will spawn an object right away when entering play mode instead of waiting for the fire rate interval.

Launch Speed

Number Variable

Defaults to 5 - m/s

Max Amount

Int Variable

Defaults to 1 - #

Spread Type

Enum Variable

Spread

Number Variable

degrees

On Max Amount

Enum Variable

Defaults to StopSpawning

Reuse Entities

Bool Variable

When 'RemoveOldest' is on the same Entities will be moved to be launched again rather than spawn new entities. - Defaults to True

Next Spawn

Play Time Variable

Spawn Rotation

Vector3 Variable

Spawned List

Entity Variable List

  • ReadOnly

Methods

Name

Description

Spawn()

Spawn At Speed(Vector3 velocity)

Events

Name

Description

Entity Spawned(Entity spawned)

Next Spawn Lapsed()

Called when Next Spawn time Lapses