Help with TeamKillers

Axtyler#1

New Member
Reaction score
1
Ok so I tested the map I am making and its pretty good BUT, i noticed that people cab be really gay by teamilling building, units, ect. So im wondering how to make it so that if your an ally of a player you cant attack them. Any help or suggestion greatly welcomed :thup:
 

trees123

New Member
Reaction score
6
I'm pretty sure this would work.

Trigger:
  • Untitled Trigger 001
    • 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
 

SpaceBar

New Member
Reaction score
16
I'm pretty sure this would work.

Untitled Trigger 001
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

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