I tried setting a global variable and, when below a certain number, a "warning alarm" goes off.
But when the number goes back up, it won't shut off.
I tried:
health < 20
alarmOn = false ..... Play "alarm" sound, alarmON = true
health > 20
alarmOn = true ......Stop "alarm" sound, alarmON = false
and no go.
Any help will be appreciated.