Light_LowerByValue — lowers the light in a sector by a specified amount
Light_LowerByValue (tag, amount);
Light_LowerByValue ( tag, // Tag of affected sector amount // Amount to lower 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 lowers the light level instantly. If you want to lower 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 lowered independantly. So if you have two sectors tagged 1 with light
levels of 16 and 150 and you use the special Light_LowerByValue (1, 10)
,
their new light levels will be 6 and 140 respectively.
A sector's new light level will never be lower than 0 after this special is used.
Hexen