From ZDoom Wiki
Jump to navigation Jump to search

void SetSectorGlow (int tag, bool plane, int red, int green, int blue, int height)

Graficon.gif Warning: This feature is GZDoom specific, and is not compatible with ZDoom!
To see all of GZDoom's specific features, see GZDoom features.


Applies a glow effect on the floor or ceiling of the tagged sector.


  • tag: the tag of the sector on which to apply the effect.
  • plane: if true, the glow is applied on the ceiling, otherwise (i.e. if false) it is applied on the floor.
  • red: the red compound of the color. If this is set to -1, the glow effect is removed (the other color compounds are ignored).
  • green: the green compound of the color.
  • blue: the blue compound of the color.
  • height: the height of the glow.


This script applies a red glow on the floor and a blue one on the ceiling.

script "Init" OPEN
    SetSectorGlow(1, false, 255, 0, 0, 64);
    SetSectorGlow(1, true, 0, 0, 255, 64);