Light_Fade

Changes the light level in a sector gradually over a period of time until it reaches value.

113:Light_Fade (tag, value, tics)

  • tag: Tag of affected sector
  • value: New light level
  • tics: How long the light takes to fade to the new level

Examples

   //add this line to your script. it will affect a sector with tag #9.
   light_fade(9,225,35);
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.