Skip to content

PlaySFXAtPositionAction ​

Inherits: EventAction < Resource

Action to play a sound effect at a 3D position Uses SFXSelection for complete audio configuration

Properties ​

SFXSelectionsfx_selection
Vector3positionVector3.ZERO

Methods ​

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

Property descriptions ​

SFXSelection sfx_selection ​

The SFX to play (includes category, type, volume, pitch, and 3D settings)

Vector3 position = Vector3.ZERO ​

Position to play the sound 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