• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

Any way to revive a unit with the same amounts of kills?

Status
Not open for further replies.
Level 6
Joined
Jul 13, 2007
Messages
173
Hello Hive

I just got my copy of starcraft 2 today and i've been playing around with the editor for a while now, but the problem is that i cant find a way to revive a unit with the kills saved. any way to do so?
 
Level 5
Joined
Sep 15, 2009
Messages
186
You create a variable named Whatever which is an integer, then you use the set variable function to set the variable Whatever to the unit property kills. Then when you revive you do the opposite, you set unit property to the variable.
 
Status
Not open for further replies.
Top