oh mi god time traveling

Emu.Man00

New Member
Reaction score
41
Any1 have any idea how I would go about making a mimick nerubian weaver's time lapse? I plan on using something somewhat similar which would be made the same way.

For you non-dota ppl (shame!) it sends caster bak 3 seconds in time. keeping hp and position the same as where he was 3 sec ago.
 

The_Kingpin

Member (Who are you and why should I care?)
Reaction score
41
Well, you'd need to store the hero's location with structs or handle variables every second or so, and then when the ability is cast, get the 3rd variable and move the hero there.
 

s3rius

Linux is only free if your time is worthless.
Reaction score
130
I dont exactly know the spell, but the only way I can think of is this:
Every 1 second of game time you save the location and hp/mana of this unit in a variable. You'll have to save the last 3 entries of that. Everytime a new entry is added it deletes the oldest one.
Then, when the ability is used, you take the oldest of those entries and change the caster's location, hp and mp.
But I'm tired, maybe I'll try out to code it tomorrow ^^
 
G

gomis

Guest
if i'am not wrong there is a trigger in extremacandywars which exactly like nerubian skill. i forgot cos in my office there's no WC :mad:. just looking on it ok.
 
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