Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local sound_event_name = "enemy_horde_stinger" -- Change this to desired sound event name
- local SOURCE_ID = 0
- safe_pcall(function()
- EchoConsole("Attempting to play sound event: " .. sound_event_name)
- local world = Managers.world:world("level_world")
- local wwise_world = Managers.world:wwise_world(world)
- wwise_world:trigger_event(sound_event_name, SOURCE_ID)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement