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