• 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] Auto send units

Status
Not open for further replies.
Level 9
Joined
Aug 1, 2008
Messages
453
i have like a army game and after you kill one of your opponents units you get it and i want it to do so if you tyep -auto, it sends all of the monsters that kill to attack units in there way to a certain region kinda like a rally point. heres my trigger
  • Player 1
    • Events
      • Unit - A unit enters Red <gen>
    • Conditions
      • Auto_Send[(Player number of (Owner of (Triggering unit)))] Greater than or equal to 1
    • Actions
      • Unit - Set Rally-Point for (Triggering unit) to (Center of East Team <gen>)
thats my sending trigger and this is my setting the varible trigger
  • Turn ASM on
    • Events
      • Player - Player 1 (Red) types a chat message containing -Auto as An exact match
      • Player - Player 2 (Blue) types a chat message containing -Auto as An exact match
      • Player - Player 3 (Teal) types a chat message containing -Auto as An exact match
      • Player - Player 4 (Purple) types a chat message containing -Auto as An exact match
      • Player - Player 5 (Yellow) types a chat message containing -Auto as An exact match
      • Player - Player 6 (Orange) types a chat message containing -Auto as An exact match
      • Player - Player 7 (Green) types a chat message containing -Auto as An exact match
      • Player - Player 8 (Pink) types a chat message containing -Auto as An exact match
    • Conditions
    • Actions
      • Set Auto_Send[(Player number of (Triggering player))] = 1
why doesn't it work? will +rep if helped
 
Level 2
Joined
Nov 5, 2008
Messages
9
Unit - Set Rally-Point for (Triggering unit) to (Center of East Team <gen>)

Change that to ordering it to move.
 
Level 3
Joined
Aug 20, 2008
Messages
54
For the 'Player 1' trigger's actions, remove the one you have and put:

Unit - Issue order to Triggering Unit Attack-Move to Center of "East Team"
 
Status
Not open for further replies.
Top