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

Disable Friendly Fire

Status
Not open for further replies.
Level 3
Joined
Jul 17, 2012
Messages
26
I read some posts on how to disable friendly fire but I don't know how to make this condition:

Conditions
((Owner of (Attacked unit)) is an ally of (Owner of (Attacking unit))) Equal to True


Also does anyone know how to disable Stalemate Detection and being Revealed because there is no command center.
 
Level 3
Joined
Jul 17, 2012
Messages
26
The weapon I want to not have friendly fire is Marauder Punisher Grenades, are the flags you're talking about under the AI tab (AI notify Flags)? I notice in that location both "Hurt Friend" and "Hurt Enemy" are unchecked.

Under the Effect tab there are also some Flags, but i don't see any about allied units.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,258
Your weapon -> Target Filters

Uncheck the "Ally" flag to prevent a player from using the weapon against allies.
Uncheck the "Player" flag to prevent a player from using the weapon against themselves.

In the case of attacks that deal AoE damage that hurts allies you need to modify the Search Filters of the damage or search area effect. the weapon results in.
 
Status
Not open for further replies.
Top