ive got some problem ive got these sound files they all play right, but thats not the problem
i want one sound to play by using playsound "sound name" - works fine
but ive got a load of these files corossponding with
ENEMY TANK
ENEMY INFANTRY
ENEMY APC
ENEMY MACHINE GUN EMPLACEMENT
ENEMY SNIPER
ENEMY OFFICER
ENEMY SPETZ NATZ
aswell as
north
north east
east
south east
south west
west
north west
aswell as aload of distances what one of my scripts do is find the
distance
type of unit
compass direction
these can all vary so i want to use variables to get what sound to play corresponding to what it equals ive seen this done before but i cant get my head around it for some reason
theres a script from the ed depot
here it isin that look for artillery_clickTarget
that does what im looking for but i cant get my head around how to get this to work
so im looking for a sligh push in the right direction
ive tried lots of times but i always get something like
sound not found
error in array etc etc