PringlesLooper/MobiusScripts/Play-Mute-TR3.mos

65 lines
643 B
Plaintext
Raw Normal View History

2016-07-13 08:50:03 +00:00
Track 3
if mode = play
Mute
message Muted
else if mode = mute
Variable track1Playing
Variable track2Playing
Variable track3Playing
for 1
if mode == play
set track1Playing true
endif
next
for 2
if mode == play
set track2Playing true
endif
next
for 3
if mode == play
set track3Playing true
endif
next
# now we've gathered what we need to decide
if track1Playing || track2Playing || track3Playing
message track is playing
Play
else
message start point
Play
Move LoopFrames 0
Track1
Move LoopFrames 0
Track2
Move LoopFrames 0
Track3
endif
endif
endif
endif
endif
endif