Voorshwa
12-02-2004, 05:46 PM
Hi!
Can anyone tell me of a way to execute and action bar button within an Addon? I am trying to have my code execute the active spell in my action bar when a certain event is fired.
Example, in the CombatCaller addon the interface yells out that you need healing when you get to a certain amount of HP. What I want, is to be able to have the code execute the spell in my action bar slot when I get to the same amount of HP. I haven't been able to reference those buttons in the action bar from the icon, no matter what I do.
Can someone in the community or one of the Cosmos Developers speak to how to do this? It would be a huge help. Thanks!
V
Can anyone tell me of a way to execute and action bar button within an Addon? I am trying to have my code execute the active spell in my action bar when a certain event is fired.
Example, in the CombatCaller addon the interface yells out that you need healing when you get to a certain amount of HP. What I want, is to be able to have the code execute the spell in my action bar slot when I get to the same amount of HP. I haven't been able to reference those buttons in the action bar from the icon, no matter what I do.
Can someone in the community or one of the Cosmos Developers speak to how to do this? It would be a huge help. Thanks!
V