Can my macro detect if the action was successful?

Can my macro detect if the action was successful? - Clear Filament Bulb on Black Pad

I have a fairly straightforward macro to announce a Raise target in public groups:

/micon "Raise"
/ac "Raise" <t>
/p Raise on <t>

Sometimes my Raise doesn't go through. Either I'm out of range and didn't notice or my spells were still on the GCD when I tried to Raise while dodging mechanics, and I have to activate the macro again, leading to a number of duplicate lines in party chat.

Is there a way to only announce the Raise if the cast was successful? This would also help me notice my cast failed because the error text is often hard to see (especially in red environments), but party chat is easy to follow.



Best Answer

You can't, but IIRC there's a workaround.

You can see how long a Raise would need to be channeled before successfully cast. Generally it's somewhere around 3-4.5 seconds (haven't played in a while). You can have the macro wait as long as 10 seconds (only integers) before continuing. You can set the wait to be around 4 seconds and if you've triggered another wait in another macro, there's a very high chance your Raise failed, so you did something else

Do bear in mind that this timer is global. All macros share a single timer, so you can't put timers that can remind you that your spells are ready to cast. I tried.




Pictures about "Can my macro detect if the action was successful?"

Can my macro detect if the action was successful? - Photo of a Succulent Plant
Can my macro detect if the action was successful? - Coca-cola Can on Brown Concrete Surface
Can my macro detect if the action was successful? - Photo of Gray Faucet





Detect Image Macros in Video Games




Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.

Images: Pixabay, Ylanite Koppens, Himalaya Karan, Luis Quintero