
I'm trying, but this is not works. I.e. it works, but only for increasing

- Code: Select all
function Timer()
{
local Light L;
Super.timer();
ForEach AllActors(class'Light',L, 'SpecialLight')
{
L.DrawScale=L.DrawScale + 0.2;
If (L.DrawScale >= 3.00)
{
L.DrawScale=L.DrawScale - 0.2;
}
}
}
what is wrong?

