TagWait
From Eternity Wiki
Jump to navigationJump to search
Description
This is an ACS built-in function.
Waits until tagged sectors stop their movement.
Usage
void TagWait(int tag)
Parameters
- tag: tag of sectors to wait for.
Return value
None.
Examples
No examples given.
Notes
A sector is marked as busy if any of its floor or ceiling is under movement, or under a longer process (such as a temporarily raised door or lowered lift). Paused crushers or perpetual floors (Doom style) also mark the sector as busy. Same with Floor_Waggle or Ceiling_Waggle running.
If multiple sectors are tagged, it will wait until ALL of them stop movement.
This function's identification in zspecial.acs
is: ACC internal..