Ready-made StateTree tools for Unreal Engine 5
Plugin: StateTreeToolsCore Category: Audio
Plays a spatialized sound at a world-space location when the state is entered. The task fires once and immediately succeeds — it does not wait for the sound to finish. Use Spawn Sound At Location instead if you need to track playback or hold a reference to the audio component.
The sound asset to play.
An attenuation settings asset that controls how the sound falls off with distance. Leave empty to use the sound’s default attenuation settings.
A concurrency settings asset that controls how this sound behaves when multiple instances are requested. Leave empty to use the sound’s default concurrency rules.
Advanced initial active sound parameters. Leave empty in most cases.
The world-space position at which the sound is played.
Scales the sound’s base volume. Default is 1.0.
Scales the sound’s base pitch. Default is 1.0.
Playback start offset in seconds. Default is 0.0.
If the Sound asset is not set the task will fail at compile time. The task inherits Error Means Failure from FStateTreeTools_TaskCommon.