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

Unable to attack allie

Status
Not open for further replies.
Level 3
Joined
Sep 3, 2007
Messages
30
how do you make it so that when you try to attack target your allies u cant attack them?
 
Level 3
Joined
Sep 3, 2007
Messages
30
  • Blah
    • Events
      • Unit - A Unit is Attacked
    • Conditions
      • ((Attacking Unit) belongs to an ally of (Triggering Unit)) Equal to True
    • Actions
      • Unit - Order (Attacking Unit) to Stop


hey how do u do the ((Attacking Unit) belongs to an ally of (Triggering Unit)) Equal to True . im a real noob at triggers hehe thanks
 
Level 3
Joined
Sep 3, 2007
Messages
30
Boolean Comparison

Unit Belongs to an Ally of Player

thanks alot, your the best hope this works :D

hmm... how come when i do ((Attacking Unit) belongs to an ally of, it doesnt have Triggering unit by itself, it has (Owner of (Triggering Unit)) instead
 
Last edited by a moderator:
Status
Not open for further replies.
Top