A_Light0

From ZDoom Wiki

Jump to: navigation, search

A_Light0 A_Light1 A_Light2 A_LightInverse

(no parameters)


These functions set the 'weapon light'. This is a slight illumination of the entire level.

A_Light0, A_Light1 and A_Light2 set this to values 0, 1 and 2 respectively. 0 means off and 2 means bright.

A_LightInverse makes the screen use the inverted colormap normally used for invulnerability in Doom.

Examples

Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.
Personal tools