Can any one tell me how to ban own unit to attack own or allied unit?

DhAoS[ARRC]

New Member
Reaction score
10
go to the object editor and in it you can change the target types, and if i'm not mistaken there might be a trigger that does it so you don't have to change it for every unit, idk but that's how i do it.
 

Andrewgosu

The Silent Pandaren Helper
Reaction score
716
The triggered way (haven't tested it, should work, though):

Events
- Unit - A unit Is attacked
Conditions
- ((Attacked unit) belongs to an ally of (Owner of (Attacking unit))) Equal to True
Actions
- Unit - Order (Attacking unit) to Stop

Or just change every units "targets allowed" field not to allow them to attack allied/friendly units.
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top