- Joined
- Jun 14, 2017
- RedCents
- 1,962¢
#1
Hi,
I have been trying to tinker with a macro that didnt have evac set up. I got everything set to trigger the sub routine. I am guessing that with my limited knowledge it is probably a bit clunky but seems to work under normal circumstances of when the Tank dies the Wiz will cast evac. However, I ran into a situation yesterday where when trying to /pick my group, the Wiz cast evac after the /pick. I am guessing that the Tank must have picked after the Wiz so when the Wiz loaded in the new pick it cast evac. Then to make matters worse, the Tank crashed and the Wiz just started chain casting evac. I know this situation isn't going to come up often and the work around is to pause the Macro before picking or zoning. But it did get me thinking that there is probably a better way to define the sub routine. I have looked around but have failed to find anything that would help. For instance, is there a way to get the evac to only fire once and then stop? Or maybe have a 20 min timer or some more clever way to keep the sub routine from going into a chain casting situation? Here is what I have so far:
|----------------------------------------------------------------------------
|- SUB: Evac
|----------------------------------------------------------------------------
Sub Evac
/if (${Group.Member[${assistname}].PctHPs} < 1) {
/call CastSpell "${EvacSpell}"
}
/return
Any direct help or a link to a reference or example of a better working evac would be appreciated. I am learning this stuff by looking through the forums for situations close to mine and then through trial and error getting them to work for my toons. There has been a lot of the error but have had some successes. Then every once in a while I get something like this that sort of works but can't figure out how to tweak it further. Thanks for any insight, AnotherJohn
Hi,
I have been trying to tinker with a macro that didnt have evac set up. I got everything set to trigger the sub routine. I am guessing that with my limited knowledge it is probably a bit clunky but seems to work under normal circumstances of when the Tank dies the Wiz will cast evac. However, I ran into a situation yesterday where when trying to /pick my group, the Wiz cast evac after the /pick. I am guessing that the Tank must have picked after the Wiz so when the Wiz loaded in the new pick it cast evac. Then to make matters worse, the Tank crashed and the Wiz just started chain casting evac. I know this situation isn't going to come up often and the work around is to pause the Macro before picking or zoning. But it did get me thinking that there is probably a better way to define the sub routine. I have looked around but have failed to find anything that would help. For instance, is there a way to get the evac to only fire once and then stop? Or maybe have a 20 min timer or some more clever way to keep the sub routine from going into a chain casting situation? Here is what I have so far:
|----------------------------------------------------------------------------
|- SUB: Evac
|----------------------------------------------------------------------------
Sub Evac
/if (${Group.Member[${assistname}].PctHPs} < 1) {
/call CastSpell "${EvacSpell}"
}
/return
Any direct help or a link to a reference or example of a better working evac would be appreciated. I am learning this stuff by looking through the forums for situations close to mine and then through trial and error getting them to work for my toons. There has been a lot of the error but have had some successes. Then every once in a while I get something like this that sort of works but can't figure out how to tweak it further. Thanks for any insight, AnotherJohn

