As usual, I'm here for help on a script. This one is not working and I do not know the reason! I have tried several different variations and cannot get it to work...
begin MT15_lighthouse_caretaker
short timer
short action
set timer to ( timer + GetSecondsPassed )
if ( timer <= 5 )
Return
elseif ( timer > 5 )
set action to random, 10
if ( action <= 5 )
ForceRun
ClearForceJump
set timer to 0
elseif ( action <= 10 )
ForceJump
ClearForceRun
set timer to 0
else
ClearForceRun
ClearForceJump
set timer to 0
endif
endif
end
The idea for the script is for someone to randomly jump and run around pretty frequently.