[Trigger] Gate open and close commands?

Status
Not open for further replies.

evilancients1

E

evilancients1

I made triggers for all my gates that are pretty simple.

But if the gate is at half health and you open it, then close it, its back at full health. Same thing for when it dies. If you use the open or close commands it respawns.

I need to know how to fix this because it will be a real problem in my map.

Thanks in advance.
 
Can't you just store the gates hp before you open/close it and then set the gates hp to what you have stored?
Like this:
  • Events:
    • SOME EVENTS
  • Conditions:
    • SOME CONDITIONS
  • Actions:
    • Set hp = Get the gates hp
    • Destructible - Open/close gate
    • Destructible - Set the gates life to hp
 
Status
Not open for further replies.
Back
Top