ChangeCeiling: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(Created page with "{{ACSFunction|description=Changes ceiling texture of tagged sectors. |usage=''void'' '''ChangeCeiling'''(''int tag'', ''str texture'') |parameters= *''tag'': tag of sectors wh...")
 
No edit summary
 
Line 5: Line 5:
*''texture'': name of texture to apply to tagged sectors
*''texture'': name of texture to apply to tagged sectors
|notes=If ''texture'' doesn't exist, nothing will happen. Applying or removing sky flats (such as <code>F_SKY1</code>) will update the behaviour for projectiles accordingly.
|notes=If ''texture'' doesn't exist, nothing will happen. Applying or removing sky flats (such as <code>F_SKY1</code>) will update the behaviour for projectiles accordingly.
|id=ACC internal}}
|id=ACC internal
|seealso=
*[[ChangeFloor]]
*[[SetSectorDamage]]}}

Latest revision as of 04:27, 2 January 2022

Description[edit]

This is an ACS built-in function.

Changes ceiling texture of tagged sectors.

Usage[edit]

void ChangeCeiling(int tag, str texture)

Parameters[edit]

  • tag: tag of sectors whose ceiling textures to change
  • texture: name of texture to apply to tagged sectors

Return value[edit]

Examples[edit]

No examples given.

Notes[edit]

If texture doesn't exist, nothing will happen. Applying or removing sky flats (such as F_SKY1) will update the behaviour for projectiles accordingly.

This function's identification in zspecial.acs is: ACC internal.

See also[edit]