I just need a little hlep with /loc commands in MQ plz

Macro requests from before the user variable changes that broke all macros

Moderator: MacroQuest Developers

stigmatine
a lesser mummy
a lesser mummy
Posts: 50
Joined: Wed Oct 02, 2002 2:52 pm

I just need a little hlep with /loc commands in MQ plz

Post by stigmatine » Fri Nov 08, 2002 12:45 pm

I already have a program worked on that i'm going to use, but i need something that will make me alwyas walk to an exact loc evertime i hit a certain button. is that possible, plz any help would be great thx. and yes i did search but i always get like 224 returns and can't find the one that's just about loc know what i mean.

aGuy
orc pawn
orc pawn
Posts: 18
Joined: Tue Nov 05, 2002 3:22 pm

Post by aGuy » Fri Nov 08, 2002 1:18 pm

I am new at writing scripts myself and I can only give you theory how you would do this.

You would need to write a macro to do this because currently I am not aware of any MQ command that will do this.

You can use /face (x, y) to face you in the direction of the loc you want to go to.

Once you are facing in the right direction, you can use a /sendkey <key>, in this case the key you have set for auto run.

The next step would be to create a loop to compare your loc to the loc you are going to. If these do not match do a /face again to make sure you have not moved off target to your destination. Once your loc equals to the loc you are heading (depending how accurate you needed to me you might want to have the event be within 5 or 10 of your desired location), do another /sendkey to stop your movement.

Hope this helps.

stigmatine
a lesser mummy
a lesser mummy
Posts: 50
Joined: Wed Oct 02, 2002 2:52 pm

Post by stigmatine » Fri Nov 08, 2002 2:07 pm

yes it does thx for help, but hmm maybe i shold post this inthe forum for things to add to MQ.

User avatar
Fippy
a snow griffon
a snow griffon
Posts: 499
Joined: Tue Jul 16, 2002 10:42 am

Post by Fippy » Fri Nov 08, 2002 7:02 pm

Search for a script posted by nerfy.

It works well.

(Yes I am only saying that cause he based it on some of my code :-) )
Fippy

This is my girl. But Rizwank had her first :-)
[img]http://www.btinternet.com/~artanor/images/fairy_bounce09.gif[/img]