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

[Trigger] Confusing problem regarding gates.

Status
Not open for further replies.
Level 2
Joined
Jul 9, 2008
Messages
25
trigger
Events
Unit - A unit Starts the effect of an ability
Conditions
(Ability being cast) Equal to [some ability]
Actions
If (All Conditions are True) then do (Then Actions) else do (Else Actions)
If - Conditions
([some unit] is dead) Equal to True
Then - Actions
Destructible - Open Gate (Vertical) 8874 <gen>
Game - Display to (All players) the text: TRIGGER ACTIVATED
Sound - Play Reincarnation <gen> at 100.00% volume, located at (Position of (Triggering unit)) with Z offset 0.00
Trigger - Turn off (This trigger)
Else - Actions

Basically, I'm trying to make a gate open when a unit uses an ability, but only if a certain unit is dead. Almost everything about this trigger works fine: If the unit is dead the sound will play and the text telling me it worked will show up. However, the gate doesn't open.

I don't understand why the gate won't open; I've made other triggers to open gates in the past (by clicking on a unit, typing a string, or when a unit enters a region), but this one has me stumped. What did I do wrong?
 
Don't forget to destroy that sound.
It will still play through, even if you destroy it immediately after playing.

Anyways, the only problem I could see happening, is if you accidentally chose the wrong gate?
If it really does run through the rest of the trigger.
 
Hey, thanks for the help. What's weird is that when I made the same trigger in a different map and copy/pasted into my map, it started working fine. Whatever. xD
 
Status
Not open for further replies.
Back
Top