Player --> Unable to attack --> Player

krainert

Member
Reaction score
10
Perhaps you could try using the AbortSpell supplementary library of LastOrder (requires SimError) to cancel attack orders targeting units owned by players whom the owner of the ordered unit is not allowed to attack?
 

Mythes

Member
Reaction score
7
Set them all as allies and have this simple little trigger:

Trigger:
  • No attacking
    • Events
      • Unit - A unit Is attacked
    • Conditions
      • ((Attacking unit) belongs to an ally of (Owner of (Attacked unit))) Equal to True
    • Actions
      • Unit - Order (Attacking unit) to Stop
 
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