Silgrad Tower from the Ashes

Full Version: Scripting Help!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
i was wondering if anyone out there could help me with a script, it's supposed to shrink someone and drain their stats but i can't get the timer part to work... HELP! (please...)

scriptname Vvardenfellshrink

float time1
float time2

begin scripteffectstart

setscale .6
modactorvalue strength -70
modactorvalue speed -50
modactorvalue endurance -75
modactorvalue agility -50
modactorvalue fatigue -200

set time1 to GetSecondsPassed + 5


if time1 < GetSecondsPassed

modactorvalue strength 70
modactorvalue speed 50
modactorvalue endurance 75
modactorvalue agility 50
modactorvalue fatigue 200
else
end