Originally Posted by Walkerbo
Hi SDPhantom
Ok, so the hidden button onclick overrides the SecureActionButtonTemplate, that makes sense.
I have removed the onclick from the hidden button, (I only added the onclick to test if the button was indeed being clicked).
Now with the b.hiddenSpellStopButton:Click() I do not understand what you mean.
I have tested the code and it throws no errors at all.
If I should not use b.hiddenSpellStopButton:Click() how do I click the button to stop the cast?
|
The whole point of the secure system is to prevent automation.
If you could click secure buttons from code in response to events then what's the point.
"how do I click the button to stop the cast?" You click it with your mouse or press a keybind.