Light_RaiseByValue — raises the light level in a sector by a specified amount.
Light_RaiseByValue (tag, amount);
Light_RaiseByValue ( tag, // Tag of affected sector amount // Amount to raise the light by );
This special's function is the same whether you activate it on a line or use it in a script.
This special raises the light level instantly. If you want to raise the light gradually over a period of time, you may be able to use Light_Fade instead.
If there is more than one sector with the tag you specify, each sector will have
its light raised independantly. So if you have two sectors tagged 1 with light
levels of 16 and 150 and you use the special Light_RaiseByValue (1, 10)
,
their new light levels will be 26 and 160 respectively.
A sector's new light level will never be higher than 255 after this special is used.
Hexen