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

Why won't this tigger work

Status
Not open for further replies.
Level 3
Joined
May 12, 2008
Messages
64
  • Untitled Trigger 007
    • Events
      • Unit - A unit Dies
    • Conditions
      • ((Random integer number between 1 and 4) Equal to 2) and (((Dying unit) has buff Disease) Equal to True)
    • Actions
      • Unit - Create 1 Zombie for Player 4 (Purple) at (Position of (Triggering unit)) facing Default building facing degrees
I have been trying to get it working for my map but it refuses to work. Im also kinda new to map making
 
Open the Variable editor, create a new unit group variable. Create a new trigger so that when a unit is attacked/has a spell cast on it/whatever the event is that would normally trigger the disease buff, have it add them to the unit group.

Then create a new trigger that checks periodically, every .1 seconds or whatever, if every unit in the unit group has the Disease buff; if not, have it remove them from the unit group.

Then for your main trigger, make the condition = the unit is in the unit group, rather than has the disease buff.
 
Status
Not open for further replies.
Back
Top