| 10-01-2007, 05:08 AM | #1 |
Ok, I'm having an undefinable problem. Here is the code: Trigger: The point of this trigger is this; in this map, all of your abilities are done though a "spellbook" system. I wanted a way to exit the spellbook you're using upon casting an ability from it, yet, I didn't want the spellbook to share cooldown. Now this trigger accomplishes this. Nevertheless, this issue arises when the hero attacks. If you are in one of your spellbooks (just looking at your spells) when your unit auto attacks, then this trigger is set off, and kicks you out of your spellbook! Now in GUI versions, I can't find a condition that makes sure the ability being cast is not Attack. That's fine, I can vJass, nevertheless, I do now know the id of Attack. Does anyone know? |
| 10-01-2007, 05:56 AM | #2 |
'Aatk', I believe. |
| 10-01-2007, 07:32 AM | #3 | |
Quote:
No...tried that. |
| 10-01-2007, 07:49 AM | #4 | |
I is "Aatk": Quote:
The obvious conclusion here is that it's not firing because the unit is attacking. I tried making a trigger identical to yours and it did not display anything when a unit attacked or was ordered to attack. |
