Anabasis Wanderer
Joined: 26 Jan 2001 Posts: 74
|
Posted: Tue Jul 29, 2003 3:05 pm |
quote: Im looking for a way to handle RTs in DR?
#TRIGGER {q} {round1 = %gsl( Q);round2 = %gsl( q);#if (@round1=@roundcheck) {#abort 1};#if (@round1>@round2) {roundcheck=@round1;#ADD round1 (-@round2)} {round1=0};roundtime = @round1} "" {gsl}
#TRIGGER (@roundtime>0) {} "" {notrig}
#COND {} {#ADD roundtime -1} {wait|param=1000}
Those two triggers will reliably capture and track roundtime. You just need to display the @roundtime variable in whatever way you prefer. I personally use the status line, but whatever works for you.
quote: would also be nice if there was a function to STOP ALL TRIGGERS until the roundtime variable hit 0 and then start everything back up where it left off.....if thats at all possible
Yeah, you can do that. Dump all your triggers into a class, then turn off the class while the @roundtime is greater than zero.
Alternately, you can also set up a command buffer to store up the commands that your triggers generate while in RT, and have it send them to the game with a slight delay between them once the RT is over.
Ana |
|