Hello,
I'm having a bit of a trouble with a specific part of a charge trigger.
Let me explain the issue here.
In trigger "Rush cast" I'm saving this:
Hashtable - Save Handle Of(Target unit of ability being cast) as 0 of (Key (Casting unit)) in ht_charge
And in trigger "Rush loop" I'm loading this:
Set charge_target_unit = (Load 0 of (Key (Picked unit)) in ht_charge)
Casting unit (First line) and Picked unit (Second line) are definitely the same unit, because...
I'm saving the casting unit to a charge group and it's being iterated and moved.
But the position it's moving towards is the center of the map, meaning it cannot load the position of charge_target_unit, which I understand would be a null.
But I'm not sure why would it not load the proper unit handle when the keys should be the same.
Rush Cast
Rush loop
Not sure if you guys could help me figure this out?
Thanks.
I'm having a bit of a trouble with a specific part of a charge trigger.
Let me explain the issue here.
In trigger "Rush cast" I'm saving this:
Hashtable - Save Handle Of(Target unit of ability being cast) as 0 of (Key (Casting unit)) in ht_charge
And in trigger "Rush loop" I'm loading this:
Set charge_target_unit = (Load 0 of (Key (Picked unit)) in ht_charge)
Casting unit (First line) and Picked unit (Second line) are definitely the same unit, because...
I'm saving the casting unit to a charge group and it's being iterated and moved.
But the position it's moving towards is the center of the map, meaning it cannot load the position of charge_target_unit, which I understand would be a null.
But I'm not sure why would it not load the proper unit handle when the keys should be the same.
Rush Cast
Rush loop
Not sure if you guys could help me figure this out?
Thanks.