What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal

Howto Strafe or Jump?

stevenr

Member
Joined
Jan 15, 2010
Messages
871
Reaction score
0
Hi,

is it possible to use the CC or PlugIn to strafe left and right or Jump forward?
 
Hello

It's not possible to strafe unfortunately, but you can jump by pressing on the spacebar key with the class KeyboardManager.
 
If they have their keybinds set to default the corresponding button can be pressed, dont forget to release it though.
Code:
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.

example:

WoWMovement.Move(WoWMovement.MovementDirection.StrafeLeft);

or

WoWMovement.Move(WoWMovement.MovementDirection.StrafeLeft, TimeSpan.FromSeconds(1));

Perfect - thx. Where can I find infos about it?
 
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.
 
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.

No problem, I want to use it in pvp to act more human...
 
WoWMovement.Move(WoWMovement.MovementDirection.StrafeLeft, TimeSpan.FromSeconds(1));

Ok, this one works best. But if i leave the bg in this moment i strafe, it will strafe until the bg starts ;) What can i do?
 
You can check if you are on a loading screen and then cancel the movement by the method WoWMovement.StopMove();
 
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);
 
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);

Try wrapping up
Code:
Me.CurrentTarget.Face();
in a Composite.

edit:

might look like this then:

Code:
public Composite Face(CanRunDecoratorDelegate extra)
        {
            return new Decorator(ret => extra(ret)),
                                 new Action(delegate
                                 {
                                     Me.CurrentTarget.Face();
                                 }
                                     ));
        }

edit 2:

then you can use it like this:

Code:
Face(ret => !Me.IsFacing(Me.CurrentTarget))
 
Last edited:
heres what i have in amplify
Code:
            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");
that will do a nice little strife jump, its pretty cool.
 
Back
Top