TagWait

From Eternity Wiki
Revision as of 07:02, 2 January 2022 by Printz (talk | contribs) (Created page with "{{ACSFunction |description=Waits until tagged sectors stop their movement. |usage=''void'' '''TagWait'''(''int tag'') |parameters= *''tag'': tag of sectors to wait for. |retur...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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..

See also