Arma 3
Smokkerino 30 AGO 2019 a las 5:32
Arma 3 3D Audio
So basically, what i need is a "script" wich will play music from a object.
But wich works on a MP dedicated server.
I know how to do this only in SP, and when i load my mission in MP no sound is being played.
Publicado originalmente por Scofix:
Okay, I tried it right that way you did and everything worked perfectly.
< >
Mostrando 1-5 de 5 comentarios
Scofix 30 AGO 2019 a las 9:39 
You can use remoteExec. It should look like this:

[object, "sound"] remoteExec ["say3D", 0];
Última edición por Scofix; 30 AGO 2019 a las 9:39
Smokkerino 30 AGO 2019 a las 12:06 
Well actually it might work but basically what i am trying to do:
I have a object in my mission, wich i need him to play Fortunate Son in 3d but in loop, so basically what i did for now was

Description.ext class CfgSounds { sounds[] = {}; class sound { sound[] = {"fs.ogg", 1, 1}; titles[] = {}; }; };

And the init of the object
nul = [this] spawn {while {true} do {(_this select 0) say3D "sound"; sleep 122;};};
Wich works as i said only in sp.
So actually your code doesn't loop the song, and honestly i don't know where i must write that
[object, "sound"] remoteExec ["say3D", 0]; in any case.
Última edición por Smokkerino; 30 AGO 2019 a las 12:07
Scofix 30 AGO 2019 a las 14:01 
Alright so forget about remoteExec. Did you use the right path of the sound file? Is fs.ogg actually located in the main directory or in a subdirectory? You can also try to execute the script via debug console.
Última edición por Scofix; 30 AGO 2019 a las 14:36
Smokkerino 30 AGO 2019 a las 14:12 
yeye the path is right, in fact it works but as i said only in SP.
El autor de este hilo ha indicado que este mensaje responde al tema original.
Scofix 30 AGO 2019 a las 14:16 
Okay, I tried it right that way you did and everything worked perfectly.
< >
Mostrando 1-5 de 5 comentarios
Por página: 1530 50

Publicado el: 30 AGO 2019 a las 5:32
Mensajes: 5