• Check out the results of the Techtree Contest #19!
  • 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.
  • Create a void inspired texture for Warcraft 3 and enter Hive's 34th Texturing Contest: Void! Click here to enter!
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!

Dying Gates

Status
Not open for further replies.

MikauSchekzen

M

MikauSchekzen

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 by a moderator:
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
 
Thank you! Strangely enough, that way DID seem to work.
 
Status
Not open for further replies.
Back
Top