• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

Stop ability in spellbook from casting

Status
Not open for further replies.

Ogare

O

Ogare

How do I add stop ability in spellbook so I could cancel skills channeling without closing the spellbook?
 
just create an ability named stop which does nothing... once the unit is ordered, it will stop it current order...
I tried doing that but unit doesn't change order untill he finished casting.
 
then add a trigger which will order him to stop once you cast that spell...
:vw_unimpressed:
  • Events
    • Unit - A unit Is issued an order with no target
  • Conditions
    • (Issued order) Equal to (Order(taunt))
  • Actions
    • Unit - Order caster to Stop
This isn't working. Unit refuses to change order from casting ability i want to be stopped. Stop ability based on taunt. Example would be nice.
 
  • Set Point1 = Position of (triggering unit)
  • Set Point2 = Point1 offset by 1 toward (facing angle of (triggering uni)
  • Unit - Order (triggering unit) to Move to Point2
  • Custom script: call RemoveLocation(udg_Point1)
  • Custom script: call RemoveLocation(udg_Point2)
In jass, it would be something like this :
JASS:
local unit u=GetTriggerUnit()
call IssuePointOrder(u,"move",GetUnitX(u)+CosBJ(GetUnitFacing(u)),GetUnitY(u)+SinBJ(GetUnitFacing(u)))

I experienced problems with "stop" and spellbooks too, and that is the best solution I found.
 
Status
Not open for further replies.
Back
Top