Light_ChangeToValue

112:Light_ChangeToValue (tag, value)

  • tag: Tag of affected sector
  • value: New light level

Sets the light level in a sector to value.

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 contributions are greatly appreciated.

Conversions from linedef types

The following Doom map format types can be converted as Light_ChangeToValue:

TypeConversionTrigger
Doom 13:W1 Light To 255Light_ChangeToValue (tag, 255)Player Cross
Doom 35:W1 Light To 35Light_ChangeToValue (tag, 35)Player Cross
Doom 79:WR Light To 35Light_ChangeToValue (tag, 35)Player Cross, Repeatable
Doom 81:WR Light To 255Light_ChangeToValue (tag, 255)Player Cross, Repeatable
Doom 138:SR Light To 255Light_ChangeToValue (tag, 255)Player Use, Repeatable
Doom 139:SR Light To 35Light_ChangeToValue (tag, 35)Player Use, Repeatable
Boom 170:S1 Light To 35Light_ChangeToValue (tag, 35)Player Use
Boom 171:S1 Light To 255Light_ChangeToValue (tag, 255)Player Use
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.