- Joined
- Nov 21, 2012
- Messages
- 835
Maybe someone experience this very strange problem. Im sure there are people cause I remember here on Hive I read about that.
The example spell is Blink-Wave:
hero cast blink, I create dummy, dummy is ordered to carrion swarm target point. Simple.
But dummy in some circumstances is not casting carrionswarm (even when debug message returns 'true' on this):
I found out the problem is somehow connected with preloading spells section. Have no idea why?? I preload all spells on all picked heroes at 55sec of the game. Just by adding ability to dummy (udg_PreloadingUnit), then after 5sec I remove preloading dummy from the game.
(Of course all integers udg_Skill1[x] etc are ok)
And now strange part: if preloading part (above) in this 55sec trigger is disbled (commented) then dummy cast carrionswarm and all works.
Even more strange: if I cast spell Blink-Wave when picked hero before preloading is executed then spell works all game..
If I didnt cast Blink-Wave, and preloading is done, after that, spell is bugged cause dummy refuse cast carrionswarm...
Why it is happend? You got any ideas?
The example spell is Blink-Wave:
hero cast blink, I create dummy, dummy is ordered to carrion swarm target point. Simple.
But dummy in some circumstances is not casting carrionswarm (even when debug message returns 'true' on this):
JASS:
call IssuePointOrder(d, "carrionswarm", Tx, Ty)
I found out the problem is somehow connected with preloading spells section. Have no idea why?? I preload all spells on all picked heroes at 55sec of the game. Just by adding ability to dummy (udg_PreloadingUnit), then after 5sec I remove preloading dummy from the game.
JASS:
call UnitAddAbility( udg_PreloadingUnit, udg_Skill1[GetUnitPointValue(udg_Hero[a])] )
call UnitAddAbility( udg_PreloadingUnit, udg_Skill2[GetUnitPointValue(udg_Hero[a])] )
call UnitAddAbility( udg_PreloadingUnit, udg_Skill3[GetUnitPointValue(udg_Hero[a])] )
call UnitAddAbility( udg_PreloadingUnit, udg_Skill4[GetUnitPointValue(udg_Hero[a])] )
And now strange part: if preloading part (above) in this 55sec trigger is disbled (commented) then dummy cast carrionswarm and all works.
Even more strange: if I cast spell Blink-Wave when picked hero before preloading is executed then spell works all game..
If I didnt cast Blink-Wave, and preloading is done, after that, spell is bugged cause dummy refuse cast carrionswarm...
Why it is happend? You got any ideas?
Last edited by a moderator: