NullCurrent
( ゚ε ゚)
- Reaction score
- 110
How would you go about creating a friendly fire trigger. So when a unit attacks a friendly, the unit does not take any damage.
Friendly Fire
Events
Unit - A unit Is attacked
Conditions
((Owner of (Attacking unit)) is an ally of (Owner of (Triggering unit))) Equal to True
Actions
Unit - Order (Attacking unit) to Stop
You can stop the unit from attacking them, very easily:
Code:Friendly Fire Events Unit - A unit Is attacked Conditions ((Owner of (Attacking unit)) is an ally of (Owner of (Triggering unit))) Equal to True Actions Unit - Order (Attacking unit) to Stop
That is exactly what I meant.
I wrote that post on the same minute as you wrote yours.