Classes:SectorFlagSetter
Jump to navigation
Jump to search
Note: Wait! Stop! You do not need to copy this actor's code into your project! Here's why:
|
Sector Flag-Setter | |||
---|---|---|---|
Actor type | Internal | Game | ![]() |
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:
- SECF_SILENT (1)
- Actors in this sector make no noise.
- SECF_NOFALLINGDAMAGE (2)
- Actors don't take falling damage from hitting this sector's floor.
- SECF_FLOORDROP (4)
- Actors in this sector always fall with the floor, even if it is lowering very fast.
- SECF_NORESPAWN (8)
- When the "Spawn at same spot" DMFlag is set, players will not be allowed to respawn in this sector.
DECORATE definition
ACTOR SectorFlagSetter native { +NOBLOCKMAP +NOGRAVITY +DONTSPLASH RenderStyle None }
Categories:
- Chex Quest actors
- Chex Quest internal actors
- Chex Quest 3 actors
- Chex Quest 3 internal actors
- Doom actors
- Doom internal actors
- Doom II actors
- Doom II internal actors
- Heretic actors
- Heretic internal actors
- Hexen actors
- Hexen internal actors
- Strife actors
- Strife internal actors
- ZDoom actors
- ZDoom internal actors
- Internal
- Special ZDoom things