UGX-Mods

Call of Duty: Black Ops 3 => Help Desk => Scripting => Topic started by: Wolfplayer on December 03, 2016, 12:33:28 pm

Title: Play the sound when the player passing certain area
Post by: Wolfplayer on December 03, 2016, 12:33:28 pm
So I created a trigger_multiple. Made it trigger_once and clientside_trigger.
After that I created script_struct with KVP script_sound.
After that I selected my trigger and then selected script_struct and pressed "w".
But the sound is not working in the game when I am passing trigger_multiple area.
Am I doing something wrong?
Title: Re: Play the sound when the player passing certain area
Post by: Doodles_Inc on December 03, 2016, 08:05:49 pm
Yes, you shouldn't use a script_struct and yes use a sound looper.
 :-\
Title: Re: Play the sound when the player passing certain area
Post by: Wolfplayer on December 03, 2016, 11:01:36 pm
I got the sound working, but it does not depends on trigger, it is just playing.
And simply connecting them with "W" key is doing nothing. Can anyone provide an example of simple sound, that activates by multiple_trigger (only once).