XDarkHunter
New Member
- Reaction score
- 1
hi all!
i m working on a hero that is able to return back in time resetting position, hp, mana, gold,exp and also other things...
i did it but only for the caster. I used immolation as the base skill. if activated the hero returns back in time and if deactivated it stops working. it will stop working also 5 seconds after the activation.
Each unit needs array variables that contain its value and the time.
Example:
The problems are:
-> the unit can attack and cast skills while is returning back.
SO: I create a dummy that banish him so it cannot attack but i cannot remove the effect of banish that is not pretty(not the buff but the trasparency). I cannot pause the unit because the player should be able to deactivate the skill when he wants.:banghead::banghead::banghead:
-> i would like all units on the map return back as him.
BUT: i don't know how to create a array for all units and time. I may create arrays for each unit and for each kind of value. I think also it could become too heavy for war3.:nuts:
tnx all
i m working on a hero that is able to return back in time resetting position, hp, mana, gold,exp and also other things...
i did it but only for the caster. I used immolation as the base skill. if activated the hero returns back in time and if deactivated it stops working. it will stop working also 5 seconds after the activation.
Each unit needs array variables that contain its value and the time.
Example:
JASS:
set unit_hp[time] = hp in that moment
set unit_mana[time] = mana in that moment
The problems are:
-> the unit can attack and cast skills while is returning back.
SO: I create a dummy that banish him so it cannot attack but i cannot remove the effect of banish that is not pretty(not the buff but the trasparency). I cannot pause the unit because the player should be able to deactivate the skill when he wants.:banghead::banghead::banghead:
-> i would like all units on the map return back as him.
BUT: i don't know how to create a array for all units and time. I may create arrays for each unit and for each kind of value. I think also it could become too heavy for war3.:nuts:
tnx all