Hello All
Here in the download are two 'main' scripts to be used with trigger zones which will allow you to play and stop looping music tracks during game play but please bare in mind that they are to be used as a 'simple workaround' method.
There is a 'Read Me' file included in the zip which explains their use.
The scripts used:
Trigger looping music
;Artificial Intelligence Script
;Header
desc = Play Music 1 (Plays selected Music Track-which loops)
;Triggers
:state=0,plrwithinzone=1:music=audiobank\your folder\your music track 1.ogg,soundscale=6,state=1
:state=1:none
;End of Script
Trigger stop looping music
;Artificial Intelligence Script
;Header
desc = Stop Music n Destroy Zone (stops looping audio then destroys trigger zone)
;Triggers
:state=0,plrwithinzone=1:music=0,state=1
:state=1:destroy
;End of Script
I hope they are of use to somebody.
Thanks also to 'BlackFox' for insight into the scripts.