• 🏆 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!

Dying Gates

Status
Not open for further replies.
Level 2
Joined
Apr 14, 2007
Messages
10
Dying Gates *solved*

I noticed that gates aren't seen as 'dying' or 'living' destructibles. No 'Destructible dies' event occurs when referring to a gate. Nor can a boolean check determine whether a gate is alive or dead. Then how can I check for whether a gate is not yet taken down? I need to check this, because when I just open or close the gate with an action, it instantly respawns if it is razed. And that should be prevented.

Any ideas, anyone?
 
Last edited:
Level 15
Joined
Feb 9, 2006
Messages
1,598
I noticed that gates aren't seen as 'dying' or 'living' destructibles. No 'Destructible dies' event occurs when referring to a gate. Nor can a boolean check determine whether a gate is alive or dead. Then how can I check for whether a gate is not yet taken down? I need to check this, because when I just open or close the gate with an action, it instantly respawns if it is razed. And that should be prevented.

Any ideas, anyone?

  • Trigger
    • Events
      • Destructible - Gate (Diagonal 1) 0000 <gen> dies
    • Conditions
    • Actions
      • Set GateIsdead = True
Now all you have to do is to check if the boolean is true or not.

~Operator
 
Status
Not open for further replies.
Top