Jump to content
Sign in to follow this  
Georilla

Easiest way to create static radio?

Recommended Posts

I have a static radio which I would like to play music I added. I searched around, but I can't find anything that works in Arma 3.

What is the best way?

 

-I have 13 .ogg files (music)

-I would prefer an option to turn the radio on or off.

-Music should sound only from the static object.

Share this post


Link to post
Share on other sites

This code will work in initPlayerServer.sqf


 

while{alive radio}do{  
    playSound3D ["A3\Missions_F_EPA\data\music\fallout.ogg", radio, false, getPos radio];
    sleep 114;
};

I have used this and it works a treat. This actually comes from the radio.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×