|
Galakoth Beginner
Joined: 01 Dec 2000 Posts: 11
|
Posted: Fri May 10, 2013 3:29 pm
#SLOW slowwalk triggers will not #PAUSE |
#TRIGGER {$Three (%w) Miners and (%w) Miner are here.} {#PAUSE;#VAR mons2kill 4}
Now it populates the mons2kill variable... so I know the trigger is firing and working. but it does not issue the #PAUSE command.
#TRIGGER {Giant Undead Rat and Two Skeletons are here.} {#VAR undead2kill 3;#pause}
its the same with this trigger...
Any thoughts? advice? |
|
|
|
Galakoth Beginner
Joined: 01 Dec 2000 Posts: 11
|
Posted: Fri May 10, 2013 10:56 pm |
I think I figured out what was causing it to not fire... the map tool was open. Once I closed it, then the #PAUSE command started being issued.
I ran into another problem tho...
#TRIGGER {Slow walking paused} {#IF (@mons2kill=4) {eeb} {kk}}
It only ever triggers the KK command even if the variable is true. |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Sat May 11, 2013 1:23 am |
sounds like the the variable vaule is not getting updated...
do you have another trigger entering the #PAUSE command with a higher priority than this trigger? |
|
_________________ Discord: Shalimarwildcat |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Sat May 11, 2013 3:25 am |
There's no priority system in ZMud. Even though triggers do follow the same scoping rules as every other setting, triggers are the only setting type that can execute simultaneously. As such, trigger order becomes dependent on how efficient 1)the pattern can be failed and 2)the code it runs can be executed.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4692 Location: Pensacola, FL, USA
|
Posted: Sat May 11, 2013 7:56 am |
I could have sworn triggers did have a priority number... or some means or sorting them so one will fire 'first' even if it was a kluge
|
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|