Play Random Sound From Array

Callable
PlayRandomSoundFromArray

Plays a random sound from an array at a world location.

Type: Callable (has execution pins)
Category: Fortuna|Audio Helpers
Keywords: audio helpers

Inputs

NameTypeDefaultDescription
WorldContextUObject*WorldContext parameter
SoundsTArray<USoundBase*>Sounds parameter
LocationFVectorLocation parameter
VolumeMultiplierfloat1.0VolumeMultiplier parameter
PitchMultiplierfloat1.0PitchMultiplier parameter

Outputs

NameTypeDescription
ReturnValueUAudioComponent*ReturnValue output

Example Use Cases

Example 1

Randomize footstep sounds from a set.

Example 2

Vary hit impact sounds for natural feel.