try this:
desc = Music in Zone
:state=0,plrwithinzone=1:music=(path to music wanting to be played while in zone),state=1
:state=1,plrwithinzone=0:music=(path to music that should be played OUTSIDE of zone),state=0
That oughta do it. Like the post Conjured linked to says (and I quote myself)
Quote: "About the $0 and $1 parts of the scripts... what they are supposed to do is load up the SOUND listed in the entity's properties.
Looking into the source code, when it finds either $0 or $1 as the value, it will set the sequence value to either -1 or -2 respectively. In the "MUSIC" code which sets the music it literally says this: "If the sequence value IS GREATER THAN ZERO then load up the music they want". So basically, FPSC is programmed to ignore the $0 and $1 values for music, and yet at the same time still recognises them for it.
As an after-thought, $0 and $1 only refer to the "Sound" and "Alt Sound" properties, so I suppose it doesn't make sense to use them for music?
"
Good luck.
The one and only,
~PlystirE~
Urlforce:
Dude, I'd rather be declared a dbpro noob than an fpsc legend any day!