• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Is there a way to save the life of something?

Status
Not open for further replies.
Level 3
Joined
Nov 3, 2005
Messages
26
Like a gate for example. In one of my maps, i have some gates in it that the other team needs to destroy to win, but the team that controls them can just open and close them, and thus, healing them. I am hoping to be able to save the life of the gate as it gets damaged and if its closed again, it sets it back to what it was at before. I thought that maybe some variables and some tricky triggering would be able to do it, but I havnt figured it out yet. I dont even know if its possible :(
 
Level 3
Joined
Nov 3, 2005
Messages
26
I already knew that, what I meant was...

How do I set the life of the gate as its attacked to a variable, so that when its closed again, it will set it to that variable.
 
Level 3
Joined
Nov 3, 2005
Messages
26
thanks

Thanks alot, it worked :D
I really feel stupid that I didn't think of that, but what can you do, lol

Thanks again ^_^
I really appreciate it!!
 
Status
Not open for further replies.
Top