|
astrotaz Beginner
Joined: 09 Aug 2011 Posts: 12
|
Posted: Sat Sep 27, 2014 6:06 pm
Wait until then do something |
How do I code this -
I kill something and my spell points drop below a safe level, I want to wait until they regen to a certain point before executing a command
I capture the sp in to a var @sp, I need code to check until @sp=500 once it does -- execute a command. |
|
|
|
Daern Sorcerer
Joined: 15 Apr 2011 Posts: 809
|
Posted: Sat Sep 27, 2014 11:15 pm |
Make a trigger, set the pattern to @sp=500, and change the type at the bottom to expression.
|
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4690 Location: Pensacola, FL, USA
|
Posted: Tue Oct 07, 2014 2:03 pm |
i would make it a part of your prompt trigger, if you have one
#IF (@delayedAction=heal) {#IF (@sp>499) {heal me}} |
|
_________________ Discord: Shalimarwildcat |
|
|
|
|
|