Skip to content

SpawnEffectAction ​

Inherits: EncounterAction < Resource

Spawns a world effect at a specific position during an encounter

Properties ​

inteffect_id0
Vector3spawn_positionVector3.ZERO
booluse_encounter_centertrue
Vector3position_offsetVector3.ZERO

Property descriptions ​

int effect_id = 0 ​

The world effect to spawn.

Vector3 spawn_position = Vector3.ZERO ​

Where the effect appears.

bool use_encounter_center = true ​

Use encounter center instead of spawn_position

Vector3 position_offset = Vector3.ZERO ​

Offset from the chosen position