From ZDoom Wiki
Jump to navigation Jump to search
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
  1. You do NOT need to copy that actor, since it is already defined.
  2. In fact, it's not just useless, it will cause problems.
  3. If you want to modify it, or use a modified version, using inheritance is the way to go.
  4. The actor definitions here are put on the wiki for reference purpose only. Learn from them, don't copy them.
Sector Flag-Setter
Actor type Internal Game MiniZDoomLogoIcon.png (ZDoom)
DoomEd Number 9041 Class Name SectorFlagSetter

Classes: SectorFlagSetter

This actor sets extra flags for the sector it is placed within. These flags cannot be defined in the normal way for Hexen-format maps because there is no space left in the WAD format for them, so this actor allows mappers access to these flags without having to use the UDMF format.

To use, place the actor within the target sector and set its first argument to the desired flag value. If setting more than one flag, add their values together and place the result in the actor's first argument.

Currently the following flags can be used:

Actors in this sector make no noise.
Actors don't take falling damage from hitting this sector's floor.
Actors in this sector always fall with the floor, even if it is lowering very fast.
When the "Spawn at same spot" DMFlag is set, players will not be allowed to respawn in this sector.

DECORATE definition

ACTOR SectorFlagSetter native
  RenderStyle None