Alliance/enemy help please!

MicroSheep

New Member
Reaction score
3
Okay so iv made a trigger so that when a random player is picked, he/she recieves a unit, but i want to make it so that the player picked becomes an enemy to the rest of the players. How do i do that?
 

Schyy

New Member
Reaction score
5
iam not sure if there is a better solution in GUI but i would do it with 2 player groups

Code:
Untitled Trigger 001
    Events
    Conditions
    Actions
        If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            If - Conditions
                ((Picked player) is an ally of (Random player from Group1)) Equal to True
            Then - Actions
                Player Group - Remove (Picked player) from Group1
                Player Group - Add (Picked player) to Group2
                Player Group - Make Group1 treat Group2 as an Enemy
                Player Group - Make Group2 treat Group1 as an Enemy
            Else - Actions
 
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