Rich,
thanks again for your fast reply and sorry for answering late - I was offline a couple of days.
Yes, you're absolutely right: Me as well I never needed to do something like this in my many years as sound designer so far and sure, I didn't expect any logic to detect and stop cues, add a temporary
2s pre wait, start and immediately pause them and then reset the pre
wait once they've started running again ;-) The show I'm talking about however is a special one: no actors, no technicians - a self running museum setup with sounds, lights and kind of animatronics. The audience can walk on stage, yet there are restricted and marked "no trespass areas" with trigger pads on the floor which will start an "emergency stop", an announcement and the demanded 5" rewind action. I've noticed that group cues in "timeline" mode will not react correctly to your script and rewind paused cues within the group only to the very beginning of the cue if the time elapsed is beyond 5 seconds. Yet I found another solution (together with your precious script) that will work in this particular production: I've bounced all audio cues in those timeline-group cues to be of the exact length of the group cues containing silence where there's no audio information. Thus, your script works like a charm. Nested timeline groups within one "master group" will do the rest.
Maybe this will be helpful to others struggling with a similar setup.
Once again, thanks for your kind help and insight,
Thomas