- Joined
- Nov 25, 2008
- Messages
- 1,309
So, I have this trigger:
This trigger is executed from other places in the code, ideally it'd be nice to have this as a function such as
The reason behind the trigger is that players can swap teams through a number of ways.
Any help is appreciated!
-
Enforce Allies
-

Events
-

Conditions
-

Actions
-


Player Group - Make TeamA treat TeamA as an Ally with shared vision
-


Player Group - Make TeamB treat TeamB as an Ally with shared vision
-


Player Group - Make TeamB treat TeamA as an Enemy
-


Player Group - Make TeamA treat TeamB as an Enemy
-
-
This trigger is executed from other places in the code, ideally it'd be nice to have this as a function such as
function EnforceAllies takes nothing returns nothing. The teams are allies with each other, but enemies to players of the other team.The reason behind the trigger is that players can swap teams through a number of ways.
Any help is appreciated!





