TagWait

From Eternity Wiki
Jump to navigationJump to search

Description[edit]

This is an ACS built-in function.

Waits until tagged sectors stop their movement.

Usage[edit]

void TagWait(int tag)

Parameters[edit]

  • tag: tag of sectors to wait for.

Return value[edit]

None.

Examples[edit]

No examples given.

Notes[edit]

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.

See also[edit]