hey all,
Trying to trigger a Once While True only the first time something happens, and then never again for that layout.
Other than setting a flag variable is there a better way to do this?
PlayerHealth < 10
NoAudioIsPlaying = true
Trigger Once While True
----------------PlayAudio "Blue wizard is about to die.."
Since the NoAudioIsPlaying variable changes throughout the layout the only way I see to make this happen once is to make yet another variable "PlayOnce"
PlayerHealth < 10
NoAudioIsPlaying = true
PlayOnce = 0
Trigger Once While True
----------------PlayAudio "Blue wizard is about to die.."
----------------PlayOnce set to 1
I only ask because I have a whole mess of these conditions (and I'd have to create a unique flag for each) that I only want to happen once in a layout.. was wondering if there was a cleaner way...
thanks...