Antorugby 2 Posted January 30, 2014 Hello guys, How do I make the sound to be played only for the guy that use an action? This is going to be on a dedicated server and I never made mission for multi-player. Also, I want an area to play a 3D sound, and when the music end I want it to play after 100 seconds of silence, there is a way or I have to edit the song adding silence? Thank you for your time, I'm sorry if this questions has been asked before, I tried to search a bit, but using the phone is not real simple, and sorry for my English. Inviato dal mio GT-I9300 utilizzando Tapatalk Share this post Link to post Share on other sites
John Kozak 14 Posted January 30, 2014 1.The music would be playing only for the person using the action anyways, as the "playMusic" command is local. This is not the case with triggers because each player has his own copy of the trigger. 2.You don't need to edit the song. You just need to measure the music length in seconds and add a "sleep" in your script for that amount + 100. Example: myMusic.sqf: playMusic "SomeTrack_1"; sleep 312+100; // 312 is an example music length, 100 - your delay myGameLogic say3D "MySound"; // myGameLogic is a GameLogic object placed in the center of your zone in the action: _script = [] execVM "myMusic.sqf" Share this post Link to post Share on other sites
Antorugby 2 Posted January 30, 2014 Oh thank you so much, this clear a lot of things! Inviato dal mio GT-I9300 utilizzando Tapatalk Share this post Link to post Share on other sites