|
denniscjr Newbie
Joined: 27 May 2006 Posts: 6 Location: Maryland, USA
|
Posted: Tue Jun 08, 2010 6:22 pm
Using #WAIT in a alias? |
I'm trying to setup a alias for a path. The alias will take me (w;w;s;s;s;w;w;w;n;n;w;touch triangle) and then wait 10 seconds and do the rest of the path (w;w;nw). I want to do this because after you touch triangle you arent transported to the location until 10 seconds after. I was suggested to setup a destination trigger which means once you hit the destination it sets off a trigger to go the rest of the way but id like to make one alias so that if i pass by there to go somewhere else it doesnt set of the trigger! Any help would be appreciated!
|
|
|
|
Arminas Wizard
Joined: 11 Jul 2002 Posts: 1265 Location: USA
|
Posted: Tue Jun 08, 2010 7:07 pm |
Since this is Zmud we kinda frown on most usages of #wait. But I believe it should work fine here.
#forall {w|w|s|s|s|w|w|w|n|n|w|touch triangle} {#send {%i}}
#wait 10000
#forall {w|w|nw} {#send {%i}} |
|
_________________ Arminas, The Invisible horseman
Windows 7 Pro 32 bit
AMD 64 X2 2.51 Dual Core, 2 GB of Ram |
|
|
|
ralgith Sorcerer
Joined: 13 Jan 2006 Posts: 715
|
Posted: Tue Jun 08, 2010 9:53 pm |
The other option would be to make an alarm embedded in the alias. And I honestly think its the better option since #WAIT is so buggy.
|
|
_________________ CrossOver: Windows Compatibility on Mac and Linux CMUD Advocate |
|
|
|
myddrun Wanderer
Joined: 31 Mar 2005 Posts: 58
|
Posted: Fri Jun 11, 2010 11:53 am |
I'd have to concur. The only use for #wait I've found neccessary is to slow down a repeating loop.
replacing the #wait 10000 with #alarm +10 {#forall {w|w|nw} {#send {%i}} would be the better option. |
|
|
|
|
|