maggot202 Posted March 26, 2009 Hello I have the following script: script 1 (void){ Ceiling_RaiseByValue(1,40,20); delay(x); //the rest of this soon to be awesome script } How can i calculate the x, so the rest of the scripts executes precisely when the ceiling has stopped its movement? Last night i thought that maybe the speed was measured in units per tic, but it's always better to ask, i believe. Thanks! 0 Share this post Link to post
kristus Posted March 26, 2009 In fraggle script there's a command called tagwait(); which will wait for the sector's floors and ceilings to stop moving before it continues with the script. I'm sure there's something just like that for ACS. 0 Share this post Link to post
The Ultimate DooMer Posted March 27, 2009 Units per tic is correct, but replacing delay(x); with tagwait(1); is better as the script won't continue until all sectors with tag 1 have stopped moving. 0 Share this post Link to post
maggot202 Posted March 27, 2009 Hey, it worked like a charm. I wasn't aware of the tagwait command :D 0 Share this post Link to post