Verse Library verse

01 Fragment

Declares an editable slot to attach an audio player device in UEFN.

verse-library/verse-sound-positional/01-fragment.verse

# An Audio Player Device is a placed device, so your code talks to it through
# an @editable reference you wire up in the editor. Calling Play() starts its
# sound; because the device sits at a spot in the world, the sound is 3D and
# positional — louder as a player walks toward it, quieter as they leave.
@editable
AmbientHum : audio_player_device = audio_player_device{}

Comments

    Sign in to vote, comment, or suggest an edit. Sign in