I don't know how this line is supposed to create a circular impact area:
Should be something like this:
For the music from a radio or object, you define it as cfgSounds and it has to be mono. Put the files in sound/ subfolder in the mission directory.
description.ext:
To play from an object:
jeep1 say mymusic1
Code:
_tmp = _ord createVehicle [(_coords select 0) + (random _radius) - (_radius / 2), (_coords select 1)
+ (random _radius) - (_radius / 2), _height]
Should be something like this:
Code:
_rdir = random 360
_rrad= random _radius
_tmp = _ord createVehicle [(_coords select 0) + sin(_rdir)*_rrad, (_coords select 1) + cos(_rdir)*_rrad, _height]
For the music from a radio or object, you define it as cfgSounds and it has to be mono. Put the files in sound/ subfolder in the mission directory.
description.ext:
Code:
class CfgSounds
{
sounds[] =
{
mymusic1, mymusic2
};
class mymusic1
{
name = "my music 1";
sound[] = {"mymusic1.ogg", db-6, 1.0};
titles[] = { };
};
class mymusic2
{
name = "my music 2";
sound[] = {"mymusic2.ogg", db-6, 1.0};
titles[] = { };
};
};
To play from an object:
jeep1 say mymusic1