TagWait: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(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...")
 
No edit summary
 
Line 9: Line 9:


If multiple sectors are tagged, it will wait until ALL of them stop movement.
If multiple sectors are tagged, it will wait until ALL of them stop movement.
|id=ACC internal.
|id=ACC internal
|seealso=
|seealso=
*[[PolyWait]]
*[[PolyWait]]
*[[ScriptWait]]}}
*[[ScriptWait]]}}

Latest revision as of 07:03, 2 January 2022

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]