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

Question 2

Status
Not open for further replies.
Level 13
Joined
Jun 3, 2011
Messages
1,058
hi guys i wan't to know how to create a trigger that if you attack Player 12(Brown - Friendly) It automatically cancel the attack that you are going to do help please or any of the players!
 
Level 12
Joined
Sep 11, 2011
Messages
1,176
  • Stop
    • Events
      • Unit - A unit owned by Player 12 (Brown) Is attacked
    • Conditions
    • Actions
      • Unit - Order (Attacking unit) to Stop
you can find that action in "Unit - Issue Order with no target"

add condition to specify the players, something like this.

  • (Owner of (Attacking unit)) Equal to Player 1 (Red)
 
Status
Not open for further replies.
Top