Sector ChangeFlags: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
(Created page with "54:503:'''Sector_ChangeFlags'''(''tag'', ''setflags'', ''clearflags'') This is a linedef parameterized special. For all sectors with ''tag'', it adds from ''setflags'' and clears from ''clearflags'' (if previously set). Each ''...flags'' parameter can be 0 or a sum of the following numbers: * 1: suppress all sounds coming from sector (including any things acting there) * 16: enable Boom-style friction * 32: enable Boom-style wind * 64: suppress sector mechanical sound...")
 
(No difference)

Latest revision as of 12:10, 23 August 2025

54:503:Sector_ChangeFlags(tag, setflags, clearflags)

This is a linedef parameterized special. For all sectors with tag, it adds from setflags and clears from clearflags (if previously set).

Each ...flags parameter can be 0 or a sum of the following numbers:

  • 1: suppress all sounds coming from sector (including any things acting there)
  • 16: enable Boom-style friction
  • 32: enable Boom-style wind
  • 64: suppress sector mechanical sounds (e.g. door or platform sounds), other things will continue making sounds
  • 128: if sector has damaging floor, make the damage inflicted on players produce splashes
  • 256: if sector has damaging floor, make it remove god mode
  • 512: if sector has damaging floor, make it exit level when a player reaches less than 10 health

Mind that this special exists in ZDoom as well, where it may have more flags. Currently Eternity only supports the flags from this list, and adding more will issue a warning.