UGX-Mods

Call of Duty: Black Ops 3 => Help Desk => Scripting => Topic started by: OptomusPrime22 on December 22, 2016, 06:35:19 am

Title: Trigger that plays random music when walked through
Post by: OptomusPrime22 on December 22, 2016, 06:35:19 am
So my pap room I want to play music while you are there, but I want to have a list it randomly picks from when you go in there... I was thinking if there was a playerdetect thing or something of that sorts that I could put in there but then have it trigger music. But idk how to do anything like that...
Title: Re: Trigger that plays random music when walked through
Post by: animallover on December 22, 2016, 01:18:27 pm
I would like to know this too
Title: Re: Trigger that plays random music when walked through
Post by: tbone-5 on December 23, 2016, 03:18:10 am
i know how to do area music that plays once when you walk into a trigger, if that's what you mean because it will only play once not music every time you in the room, have no clue how to do more than one sound in a trigger for it to be random.

Double Post Merge: December 24, 2016, 01:40:05 am
you PMed me so here i made this for you, prefab with what you need set up & a alias, don't put these to close to one another in a map if you make more than one they can overlap, just rename the alias then stamp prefab rename it there it will be area_1 just make sure the alias name & that match, want more than copy the line in alias make a new name copy prefab rename it to the alias name easy, really simple. http://www.mediafire.com/file/7596sr9yfcz63r1/area_sounds.zip (http://www.mediafire.com/file/7596sr9yfcz63r1/area_sounds.zip)