I have made a tow map and the only thing wrong with it is some sound.
None of the custom sounds i have done work UNTIL the next round i.e after everyone is killed and the next round starts.Then all the sounds start working!??
This has bugged me from the start of the map,this is what i have...
main:
local.master = spawn ScriptMaster
local.master aliascache snd_rockme sound/amb/rocket.wav soundparms 1.0 0.2 1.0 0.2 200 12000 auto loaded maps "obj dm"
(obviously this is at the start of the scripting,then its just standard tow stuff),then at the end of the script i put this
$rocket_speaker playsound snd_rockme
Just like to say thanks once more to everyone for their help!
No sounds until after round start
Moderator: Moderators
No sounds until after round start
My candle burns at both ends it will not last the night but oh my foes and oh my friends it gives a lovely light.
thread
Sometime a sound takes a second to load, so do this.
level waittill prespawn
thread start_sounds
...
end
start_sounds:
wait 1
$rocket_speaker playsound snd_rockme
end
It can still be at the end of the script, but now it is a thread that is started in prespawn.
level waittill prespawn
thread start_sounds
...
end
start_sounds:
wait 1
$rocket_speaker playsound snd_rockme
end
It can still be at the end of the script, but now it is a thread that is started in prespawn.
