• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Deselect Spell Book

Status
Not open for further replies.
Level 16
Joined
Aug 20, 2009
Messages
1,552
Is there any way to close the spell book?

when you open a spell book, and cast some spell, i want it to close the spell book after it cast, (i know using share spell book cooldown will close it down, but i dont want it to close that way.)

any one knows?
 
Level 15
Joined
Oct 16, 2010
Messages
941
Is there any way to close the spell book?

when you open a spell book, and cast some spell, i want it to close the spell book after it cast, (i know using share spell book cooldown will close it down, but i dont want it to close that way.)

any one knows?

Pressing escape triggers the cancel command, you could try forcing the player to hit escape (under cinematic actions I belive).

I think there's an easier way though. GL ^-^
 
Level 16
Joined
Aug 20, 2009
Messages
1,552
is there such a command...?.. i never saw one

---Edit---

oh yes i found it, gonna test it out.

Result : Didnt work, it doesnt get out of the spell book.

----

i tried enabling and disabling, doesnt work,

and i must not use remove and add, due to some reason (such as its cooldown being reset if i remove and add), any other ways>?
 
Silly, silly...
  • Out of Spellbook
    • Events
      • Unit - A unit Starts the effect of an ability
    • Conditions
    • Actions
      • Wait 0.01 seconds
      • -------- Turning off the trigger stops it from firing --------
      • Trigger - Turn off Your Triggers <gen>
      • Game - Force (Owner of (Triggering unit)) to press Escape/Cancel
      • -------- Turning it on the next micro-second will mean that you just avoided an unwanted event --------
      • Trigger - Turn on Your Triggers <gen>
  • Your Triggers
    • Events
      • Player - Player 1 (Red) skips a cinematic sequence
    • Conditions
    • Actions
      • -------- actions --------
 
Status
Not open for further replies.
Top