- Joined
- Feb 22, 2008
- Messages
- 619
SOLVED BY -HellBreed-
Okay so basically what I want to do is take a units life (Unit - Life - Value) at
one time and then make the units life into that value at another. Confusing...
Let me give you an example. I have a footman, he has 100 health points (that
is pretty much a random number and doesn't matter) at 10 seconds, I want
him to have that amount at 20 seconds, even if he gets healed to max or gets
damaged to 1.
Let me give you a kind of different type of example... There's a footman
fighting at 10 seconds, he has 200 health, he gets hit a few times, then healed
once or twice, now he has 170 health. Oh look it's 20 seconds, now he has 200
health again.
Here's a trigger example:
will get +REP even if you do that, (you'll get +REP if you help in any way).
Thanks!
SOLVED BY -HellBreed-
Okay so basically what I want to do is take a units life (Unit - Life - Value) at
one time and then make the units life into that value at another. Confusing...
Let me give you an example. I have a footman, he has 100 health points (that
is pretty much a random number and doesn't matter) at 10 seconds, I want
him to have that amount at 20 seconds, even if he gets healed to max or gets
damaged to 1.
Let me give you a kind of different type of example... There's a footman
fighting at 10 seconds, he has 200 health, he gets hit a few times, then healed
once or twice, now he has 170 health. Oh look it's 20 seconds, now he has 200
health again.
Here's a trigger example:
-
Actions
-
Unit - Save (Unit) health as Value
-
Wait 10.00 seconds
-
Unit - Set life of (Triggering unit) to (Saved Value)
will get +REP even if you do that, (you'll get +REP if you help in any way).
Thanks!

SOLVED BY -HellBreed-
Last edited: