Changing variables on the fly?
Posted: Thu Jun 03, 2004 11:28 am
I don't have EQ handy atm, so I can't test this myself right now. I'm hoping one of you knows this off the top of your head.
I have a brain-dead cleric alt that I want to be part of a CH chain. Here's the code I have for the CH part now:
Real simple. At some point, though, I want to change CastTime in the script above (pushing it out to 160 or 180). If I created a hotkey that just had:
...would hitting that hotkey while this macro was running change CastTime appropriately?
If not, can you think of easy ways to change a variable like this while the macro is running?
I have a brain-dead cleric alt that I want to be part of a CH chain. Here's the code I have for the CH part now:
Code: Select all
#include SpellCast.inc
Sub Main
/declare CastTime int outer
/varset CastTime 126
/echo Starting CH chain
:HealLoop
/call cast "Complete Heal"
/delay CastTime
/goto :HealLoop
/return
Code: Select all
/varset CastTime 160
If not, can you think of easy ways to change a variable like this while the macro is running?