- Joined
- May 24, 2016
- Messages
- 339
Hello, Ive a got strange problem that leads to dummy unit cast impale on unit, but not on point.
As you can see, I tested abil with F2 unit, and it works fine. However, dummy does not cast impale on x y point
I should mark that I modified original impale, so ability has 2400 range cast and 2200 wave range with 4 seconds wave time.
JASS:
set F = CreateUnit(GetOwningPlayer(c),dummy,GetUnitX(c),GetUnitY(c),GetUnitFacing(c))
call UnitApplyTimedLife(F,'BTLF',0.1)
call UnitAddAbility(F,'AUim')
call SetUnitAbilityLevel(F,'AUim',LVL)
//set F2 = CreateUnit(Player(0),sniper,x,y,0)
//call UnitApplyTimedLife(F,'BTLF',0.1)
//call PauseUnit(F2,true)
//call IssueTargetOrder(F,"impale",F2)
call IssuePointOrder(F,"impale",x,y)
As you can see, I tested abil with F2 unit, and it works fine. However, dummy does not cast impale on x y point
I should mark that I modified original impale, so ability has 2400 range cast and 2200 wave range with 4 seconds wave time.
Last edited: