Return Back in Time

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... :D

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. :eek:

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.:eek::eek::eek::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
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top