Jump to content

sound trigger


khalcifer

Recommended Posts

this i use, but how can i add stop play if leave radius

class Item23
        {
            position[]={9910.58,0,5432.17};
            a=15;b=15;
            TRGDEF
            name="zonesanford";
            expCond="(player distance zonesanford) < 25;";
            expActiv="sanford = [] execVM ""custom\sanford\music.sqf"";";
            expDesactiv="terminate sanford; titleText [""Thanks For visiting us! Come Again"", ""PLAIN DOWN"", 3];";
        };

Link to comment
Share on other sites

in music.sqf 

playSound "sanford";

and if enter in trader play sound music 1:40 min w/o loop, but For example player enter in trader leave, enter and etc sound muliple xxx. Need only when players leave radius sounds stop play.

I think you understand me.

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Discord

×
×
  • Create New...