- Joined
- May 28, 2007
- Messages
- 365
How do I make a unit STOP an ability, if they are in the middle of channeling it.
IssueImmediateOrder(u, "stop")
Does not work.
EDIT: I fixed this by using SetUnitPosition() twice for the unit... Seemed to work.
There must be a special technique to bypass this bug?
Just to clarify, what I mean is I have a spell based off of Channel (the dummy ability) with a follow through time of 10. But I want to cut it short, so how do I do this?
On another note, how do I get a dummy unit to cast Cluster Rockets?
does not work.
IssueImmediateOrder(u, "stop")
Does not work.
EDIT: I fixed this by using SetUnitPosition() twice for the unit... Seemed to work.
There must be a special technique to bypass this bug?
Just to clarify, what I mean is I have a spell based off of Channel (the dummy ability) with a follow through time of 10. But I want to cut it short, so how do I do this?
On another note, how do I get a dummy unit to cast Cluster Rockets?
JASS:
local unit dummy = CreateUnit(GetOwningPlayer(u), 'h000', GetUnitX(u), GetUnitY(u), 0)
call UnitAddAbility(dummy, 'A02Z')
call IssuePointOrder(dummy, "clusterrockets", GetSpellTargetX(), GetSpellTargetY())
Last edited: