When I have multiple worlds open there is one world that I want to be informed of if there is any activity of a certain type. I've got a couple of triggers which fire a sound when the activiy I'm looking for occurs - both triggers set to only play the sound when the world is inactive.
So far so good.
However - I don't want the sound to be fired unless I've been inactive for a given period. Something like 60 seconds. This is the part I can't figure out.
If I could start a timer when the world became inactive, I could have the timer enable the 2 triggers. But that has it's own problems: For that to work I'd need to disable the triggers when that world became active.
So - I'm looking for a way to achieve my ends. Any suggestions?
So far so good.
However - I don't want the sound to be fired unless I've been inactive for a given period. Something like 60 seconds. This is the part I can't figure out.
If I could start a timer when the world became inactive, I could have the timer enable the 2 triggers. But that has it's own problems: For that to work I'd need to disable the triggers when that world became active.
So - I'm looking for a way to achieve my ends. Any suggestions?