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

Allies?

Status
Not open for further replies.
Level 9
Joined
Mar 31, 2011
Messages
496
I don't know how to make this, here's an explanation:

Team 1
Player 1(neutral passive)
Player 2
Player 3
Player 4
Player 5
Player 6

Team 2
Player 7(neutral passive)
Player 8
Player 9
Player 10
Player 11
Player 12

and every player can't attack their allies, but when the life's below 5%, they will be able to attack the 5% HP Unit. :razz:
 
Level 33
Joined
Mar 27, 2008
Messages
8,035
  • Prevent Attack
    • Events
      • Unit - A unit Is attacked
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • ((Triggering unit) belongs to an ally of (Owner of (Attacking unit))) Equal to True
          • (Percentage life of (Triggering unit)) Greater than or equal to 5.00
        • Then - Actions
          • Unit - Order (Attacking unit) to Stop
        • Else - Actions
This is for:
and every player can't attack their allies, but when the life's below 5%, they will be able to attack the 5% HP Unit.
 
Status
Not open for further replies.
Top