|
Savior Newbie
Joined: 04 May 2005 Posts: 4
|
Posted: Fri May 06, 2005 2:13 am
Help with trigger |
Well...
I Have a trigger that calls a #wait function of 2400 and some commands after it...
And then another trigger that i wanted it to stop the #wait function before it reachs the commands... so the commands won't execute is it possible?
If it is, how? =]
Thx anyway :) |
|
|
|
Aarlot Adept
Joined: 30 Dec 2003 Posts: 226
|
Posted: Fri May 06, 2005 3:03 am |
First off, as has been emphasized many times in this forum, it's not a very good idea to put #WAIT in a trigger. Use #ALARM.
For what you're doing, I would put this:
#ALARM tempalarm {+24} {commands go here}
in the value part of the first trigger. Then, make the second trigger's value:
#UNTRIG tempalarm
This will delete the temporary alarm that would have gone off in 24 seconds, thereby stopping the commands from executing :) Otherwise, the alarm will go off once and be gone. |
|
_________________ Everyone is entitled to their beliefs - until they die. Then only the truth matters. |
|
|
|
Savior Newbie
Joined: 04 May 2005 Posts: 4
|
Posted: Fri May 06, 2005 4:09 am |
Thhx... BUt i need it in 2,4 seconds...
is it possible?
i tried instead of +24 puttin +2,4 but it bugged :/
i got like
Alarms:
+ +2,4 -> test [in -970468097 secs]
;/ |
|
|
|
Aarlot Adept
Joined: 30 Dec 2003 Posts: 226
|
Posted: Fri May 06, 2005 5:30 am |
doh, misread the time. Change that to "+2.4", that should work
|
|
_________________ Everyone is entitled to their beliefs - until they die. Then only the truth matters. |
|
|
|
...{chris}... Novice
Joined: 11 Apr 2005 Posts: 31 Location: Yucaipa, Ca
|
Posted: Fri May 06, 2005 9:18 pm |
Quote: |
Savior
Pathetic Newbie
Joined: 04 May 2005
Posts: 2
|
Aarlot... He left this question 2 days after he joined, dont expect everyone to go rushing to the boards and researching all they possibly can before saying crap like
Quote: |
First off, as has been emphasized many times in this forum, it's not a very good idea to put #WAIT in a trigger. Use #ALARM.
|
Thanks |
|
_________________ My signature is better than yours. |
|
|
|
Aarlot Adept
Joined: 30 Dec 2003 Posts: 226
|
Posted: Fri May 06, 2005 9:26 pm |
I wasn't trying to be critical, and I'm sorry if that's how it sounded. I was just pointing out that that #WAIT is a problem a lot of people run into, and the general solution is to use #ALARM, as the zmud help files suggest, as well as these forums.
I apologize to Savior if that's how he took it as well. |
|
_________________ Everyone is entitled to their beliefs - until they die. Then only the truth matters. |
|
|
|
|
|