Skip to content

CreateVFXAction ​

Inherits: EventAction < Resource

Action to spawn a VFX at a specific position or on a target Uses VFXManager to play VFX from a VFXSelection

Properties ​

VFXSelectionvfx_selection
Vector3spawn_positionVector3.ZERO

Methods ​

Stringget_function_description()
Dictionarysave()
voidload_data( data: Dictionary )

Property descriptions ​

VFXSelection vfx_selection ​

VFX selection to spawn (any VFXSelection type: oneshot, loop, beam, etc.)

Vector3 spawn_position = Vector3.ZERO ​

Position to spawn the VFX at

Method descriptions ​

String get_function_description() ​

Return a description of this action with parameter placeholders

Dictionary save() ​

Save action state to a dictionary

void load_data( data: Dictionary ) ​

Load action state from a dictionary