|
Roar Newbie
Joined: 29 Jan 2004 Posts: 2 Location: Finland
|
Posted: Thu Jan 29, 2004 2:59 pm
Running through the path by pressing button |
Some help needed with running trigs. I'd like to build a macro which carries me through the mud (predefined route), just pressing the F1 key. E.g first I want to go 3 e then stop. Do manual actions and and continue to next place which is located 3 n by pressing the same F1 (or why not F2). Again some manual actions and continue to 3 e and so on. How I can define the whole path loop under one button without using speedwalking or is it possible? Advices are welcome.
-Roar- |
|
|
|
megamog75 Enchanter
Joined: 20 Nov 2002 Posts: 627 Location: USA
|
Posted: Thu Jan 29, 2004 5:30 pm |
you could use a stage set up with some variables
#var AuctionWalk 0
#var AuctionPath {e;e;e;#show Ready for Auction|n;n;n;;#show Ready for Auction|and so on}
#KEY F1 {#if @AuctionWalk<=%numitems(@Auctionpath) {#add AuctionWalk 1;#ex %item(@AuctionPath,@AuctionWalk)} {AuctionWalk=1;#ex %item(@AuctionPath,@AuctionWalk)}}
This Is An EXAMPLE
it is a loop that you need to be at the beggining of the set coarse for it to work right. when you reach the end of the line you have to go back to the beggining to keep going (unless your smart enough to relize you can just put a path in there to take you back to the beggining. |
|
|
|
Roar Newbie
Joined: 29 Jan 2004 Posts: 2 Location: Finland
|
Posted: Fri Jan 30, 2004 7:33 am |
Great! Thanks a lot. Lets see where I can find myself after testing...
-Roar- |
|
|
|
|
|