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

[Trigger] Need help with a simple trigger....

Status
Not open for further replies.
Level 2
Joined
Aug 26, 2007
Messages
13
I kind of have a problem, i have made the following trigger, but it simply wont fire...I have tried different actions to see if that was whats wrong with it, it still wouldnt fire, then i tried different, and even no, conditions (!), without the trigger firing, what can be wrong ??

Events:
A Unit Dies
Conditions:
Unit has Buff "<the buff that i KNOW it has>" equal to True
Actions:
Create 1 <unit i KNOW is createable:)P)>
Add a 120 second generic expiration timer to <last created unit>

Thx in advance ! :thumbs_up:

PS: Then you would think that it was the event (well i did at some point:p) but what could be "wrong" with "a unit dies" ??
 
Level 2
Joined
Aug 26, 2007
Messages
13
Okay, but then how come it isnt working when the trigger doenst have any conditions ??

Btw thx for your post, i didnt think of that (anyways thought that it executed fast enough to catch which unit was dying, yeah well :p)

But why the heck isnt it firing ?!!!
 
Level 24
Joined
May 9, 2007
Messages
3,563
Does it not go when you remove the conditions? That is strange. I am going to make a map and upload it in one second. Just wait for it.

Here, have an avatar too.

Works for me btw. Take a look at the triggers.
 

Attachments

  • NO U!.w3x
    16.8 KB · Views: 33
  • explodingstar.jpg
    explodingstar.jpg
    12.8 KB · Views: 78
Level 2
Joined
Aug 26, 2007
Messages
13
Omg ! The problem was that (well that was the problem with the trigger i mentioned, but i guess it wouldnt be with different actions..?) i had made the trigger create a unit for a player which where first set when a specific hero was bought (a player variable), because that the unit i was trying to create, only was possible to get inside the game when that freaking variable was set ! When i tried the whole thing ingame for the first time with the above trigger it didnt work, because, as you said, that buff wasnt there, and then i started testing why the unit wouldnt be created, and so, for my convience i thought, i would remove the condition (a unit has buff), so i didnt have to actually give that buff to anyone while testing, but THEN the problem was that i didnt have that variable set to a player, and therefore it didnt fire...but i still think its a mystery why, when i replaced the player variable with player 1 red (me), it didnt create the unit.....?
Anyways, question answered, and thx for the avatar, but do i have to like state that you (if you) created it ?? :p

Thx so much for your quick answers, and your efforts :p
 
Status
Not open for further replies.
Top