I have an intro and an outro script that plays two different tracks of BIS Res music
The problem is, i dont hear the outro sound if the intro sound has been played
If i remove the intro sound the outro sound plays.
Initially i thought the reason was in my testing i only allowed a mission time of 3 minutes to test outro etc.
But alas even on 30 minutes i get the same problem.
Both sounds are run from a script
I have tried the outro music from a trigger
I have tried having the outro music play the same track as the intro music
Here is a basic breakdown of the system i use
Its part of a competition map template, hence the variable declarations in the init.sqs (makes things easier for a mapper to change
********************************************************************
So my init.sqs extract
;;init.sqs
introtime = 23
intromusic = ["RTrack9",0]
outromusic = ["Frost",0]
********************************************************************
;;intro.sqs
;;;;;;;; ________ DO NOT EDIT THIS SCRIPT ________ ;;;;;;;;
;;Intro Created by steiner
;;Modified by Terox to give different views to east and west
playmusic intromusic
(introtime + 15) fademusic 0
?side player==west:goto "westview"
?side player==east:goto "eastview"
(the rest is just camera stuff)
exit
************************************************************************
;;outro.sqs
;;;;;;;; ________ DO NOT EDIT THIS SCRIPT ________ ;;;;;;;;
;;works of a trigger
#start
~1
EndGame = false
?(Time>=Param1):goto "Gamefinish"
Goto "start"
#Gamefinish
;;intromusic = nil (This didnt have any effect)
playmusic outromusic
20 fademusic 0
disableuserinput true
rest is all camera stuff ans some titletext messages
***************************************************************************
*************************************************************************
I havent done anything silly like running the endmission Outro script of the server only, its run on the client
I have also tried nulling the intromusic
eg intromusic = nil, before trying to play the outromusic
I cant get it to work and i dont know why
THE OUTRO MUSIC WORKS IF I DONT PLAY THE INTRO MUSIC
Any help would be appreciated