• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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