Back to the Vavoom Forum Archives
Crimson Wizard
Firebrand
Crimson Wizard
Janis Legzdinsh
Crimson Wizard
Janis Legzdinsh
Firebrand
Crimson Wizard
Crimson Wizard
Firebrand
Crimson Wizard
if (Player.ForwardMove > 200.0 || Player.ForwardMove < -200.0 ||
Player.SideMove > 200.0 || Player.SideMove < -200.0)
{
DoJump(RunState);
}
if (!(Player.ForwardMove > 200.0 || Player.ForwardMove < -200.0 ||
Player.SideMove > 200.0 || Player.SideMove < -200.0))
{
DoJump(WalkState);
}
In fact, I could not make this work for strafing, because it is faster than walking straight. I tried different values up to 400, but in the end decided to left it as is (i.e. strafing always counts as running).