Styx.Helpers.KeyboardManager.PressKey((char)Keys.W);
Styx.Helpers.KeyboardManager.ReleaseKey((char)Keys.W);
Hello
It's not possible to strafe unfortunately, but you can jump by pressing on the spacebar key with the class KeyboardManager.
wrong info.
check out WoWMovement.Move(direction) method and the WoWMovement.MovementDirection enum.
example:
WoWMovement.Move(WoWMovement.MovementDirection.StrafeLeft);
or
WoWMovement.Move(WoWMovement.MovementDirection.StrafeLeft, TimeSpan.FromSeconds(1));
wrong info.
check out WoWMovement.Move(direction) method and the WoWMovement.MovementDirection enum.
These movements are not supported by the Mesh system, right ?
So it's highly risky to use them because there's nothing that prevent your char to fall or stay stucked.
WoWMovement.Move(WoWMovement.MovementDirection.StrafeLeft, TimeSpan.FromSeconds(1));
WoWMovement.ConstantFace(Me.CurrentTarget);
WoWMovement.Move(WoWMovement.MovementDirection.StrafeLeft, TimeSpan.FromSeconds(1));
WoWMovement.ConstantFaceStop(Me.CurrentTarget);
Now I try to write a little PlugIn to strafe and face, but facing will not work - I dont know the style.
Code:WoWMovement.ConstantFace(Me.CurrentTarget); WoWMovement.Move(WoWMovement.MovementDirection.StrafeLeft, TimeSpan.FromSeconds(1)); WoWMovement.ConstantFaceStop(Me.CurrentTarget);
Me.CurrentTarget.Face();
public Composite Face(CanRunDecoratorDelegate extra)
{
return new Decorator(ret => extra(ret)),
new Action(delegate
{
Me.CurrentTarget.Face();
}
));
}
Face(ret => !Me.IsFacing(Me.CurrentTarget))
WoWMovement.Move(WoWMovement.MovementDirection.StrafeRight);
WoWMovement.Move(WoWMovement.MovementDirection.JumpAscend);
WoWMovement.Face();
WoWMovement.MoveStop(WoWMovement.MovementDirection.StrafeRight);
WoWMovement.MoveStop(WoWMovement.MovementDirection.JumpAscend);
Log("Strife Jump");