Jump to content

Recommended Posts

i didnt use notepadd ++ but i had installed it. sorry George. thanks for all your help. i own you one.

  • Thanks 1

Share this post


Link to post
Share on other sites
2 minutes ago, Quack Rejackt said:

i own you one.

 

Thank you very much !

You can check also here if you like :

 

 

Share this post


Link to post
Share on other sites

It works perfectly :) Thank you George x

ill save the .ogv for another day but it dose make the screen on the monitor go white.  this setObjectTexture [0,"music\tor1.ogv"]; 

  • Like 1

Share this post


Link to post
Share on other sites
On 10/31/2018 at 12:20 PM, davidoss said:

use playSound3D instead.


 


//description.ext by KK

__EXEC (MISSION_ROOT = __FILE__ select [0, count __FILE__ - 15])



// trigger on activation code
if (isServer) then {
_root = parsingNamespace getVariable "MISSION_ROOT";
_sound = _root + "music\ee3.ogg";
playSound3D [_sound, tor1, false, getPos tor1, 10, 1, 50];
};

 

 

Hello.

 

I would like to know how to set this up to loop music files. say 4 or 5 files to loop with approx 10 min sleep. Or if its possible.

 

if (isServer) then { 
_root = parsingNamespace getVariable "MISSION_ROOT"; 
_sound = _root + "music\sound.ogg"; 
playSound3D [_sound, player, false, getPosASL player, 10, 1, 50]; 
};

 

Share this post


Link to post
Share on other sites

music is played locally for each player. 

Use playmusic instead.

Otherwise player will broadcast music around in game.

Share this post


Link to post
Share on other sites
3 hours ago, davidoss said:

music is played locally for each player. 

Use playmusic instead.

Otherwise player will broadcast music around in game.

 

Ok I have found this. How would I use this to play several music files with delay between each?

 

I place this in the init

 

ehID = addMusicEventHandler ["MusicStop", {playMusic "music1";}];playMusic "music1";

 

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

×