SetShade
void SetShade (color col)
Usage
Sets the stencil color of the actor.
Parameters
- col: the color to set. This can either be a name, like "Red" or a hexadecimal value, like "FF0000".
Examples
This cacodemon turns completely red upon death.
class Caco : Cacodemon { States { Death: HEAD A 0 { A_SetRenderStyle(1.0, STYLE_STENCIL); SetShade("FF0000"); } Goto Super::Death; } }
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.