Skip to content

EntityVoiceSFXSelection ​

Inherits: SFXSelection < Resource

Specialized SFX selection for entity voice sound effects (combat barks, reactions) Only stores the action - entity provides its own voice type and variant at runtime

Properties ​

Stringaction"attack"

Methods ​

Array[String]get_available_actions()
AudioStreamget_sound_resource()

Property descriptions ​

String action = "attack" ​

The action the voice plays for (attack, hit ...). The entity gives its own voice.

Method descriptions ​

Array[String] get_available_actions() ​

The actions a voice can have.

AudioStream get_sound_resource() ​

The sound this selection points to, or null when it is not set.