• 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] loading event not working

Status
Not open for further replies.
Level 1
Joined
Jul 13, 2011
Messages
4
hello everyone
i am using the ability meat wagon and i have this problem when a unit is loaded into a transport with the auto cast ability of meat wagon it does not trigger my trigger here is my trigger does anyone know how to fix this problem and it does not matter how it gets fixed as long as i can load a corpse in a transport.

  • load food
    • Events
      • Unit - A unit Is loaded into a transport
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • ((Transporting unit) is in (Units of type smoke house)) Equal to True
          • ((Triggering unit) is in (Units of type deer)) Equal to True
          • ((Triggering unit) is dead) Equal to True
    • Actions
      • Unit Group - Add (Triggering unit) to deer
      • Set reddeer = (reddeer + 1)
      • Player - Set Player 1 (Red) Food cap to reddeer
 
a) use (Unit-type of (Triggering unit)) Equal to Smoke House, you create an unnecessary group. If you want to check whether a unit is within a unit group, simply use "((Triggering unit) is in deer) Equal to True)".

b) The trigger cannot recognize the unit that has been loaded. You need to use a custom system for that: http://www.wc3c.net/showthread.php?t=106250
 
Status
Not open for further replies.
Top