OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Raven on 28 Aug 2002, 21:38:10
-
Hi Guy
Help please. How do i get more than one piece of my own music into a mission, I've got one in but I'm having problems with a second/third etc. Is it possible, and if so, can someone help with the script.
Thanks
-
class CfgMusic
{
tracks[]={mymusic1, mymusic2, mymusic3};
class mymusic1
{
name = "";
sound[] = {\music\mymusic1.ogg, db+10, 1.0};
};
class mymusic2
{
name = "";
sound[] = {\music\mymusic2.ogg, db+10, 1.0};
};
class mymusic3
{
name = "";
sound[] = {\music\mymusic3.ogg, db+10, 1.0};
};
};
-
Thanks Black Feather worked a treat.