Sector_ChangeFlags

54:Sector_ChangeFlags (tag, setflags, clearflags)

Sets or clears certain sector-specific flags.

  • tag: The tag of the sector(s) to affect.
  • setflags: The flags to turn on for the specified sector(s).
  • clearflags: The flags to turn off for the specified sector(s).

Currently supported flags are:

Identifier constantValueUDMF nameDescription
SECF_SILENT1silentActors do not emit any sound within this sector.
SECF_NOFALLINGDAMAGE2nofallingdamageFalling damage is disabled on this sector's floor.
SECF_FLOORDROP4dropactorsAll actors standing on this floor will remain on it when it lowers very fast.
SECF_NORESPAWN8norespawnPlayers cannot respawn in this sector.
SECF_FRICTION16N/AFriction is enabled on the sector.
SECF_PUSH32N/APushers are enabled on the sector.
SECF_SILENTMOVE64N/ASector's movement makes no sound.
SECF_DMGTERRAINFX128damageterraineffectA terrain splash is spawned at the end of each damage interval.
SECF_DMGENDGODMODE256N/AGetting damaged by the sector ends god mode.
SECF_DMGENDLEVEL512N/ABeing in the sector ends the level when health goes below 10 points.
SECF_DMGHAZARD1024damagehazardChanges the damage model of the sector to Strife's delayed damage.
SECF_NOATTACK2048noattackMonsters in this sector do not attack.
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.