SetSectorGlow
void SetSectorGlow (int tag, bool plane, int red, int green, int blue, int height)
![]() |
Warning: This feature is GZDoom specific, and is not compatible with ZDoom! To see all of GZDoom's specific features, see GZDoom features. |
Usage
Applies a glow effect on the floor or ceiling of the tagged sector.
Parameters
- 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.
Examples
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); }
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.