Set Team By Tag Result

The SetTeamByTag result sets the team of any tagged unit by the specified tag.

This currently only supports Buildings.

Properties

PropertyRequiredDefaultDetails
TypetrueSetTeamByTag-
Teamtrue-Team to change units to.

Supported teams are: Player1, Player2, Employer, Target, TargetAlly, NeutralToAll, HostileToAll, World
Tagstrue-Tags to identify the unit(s) you wish to change team. If multiple are provided then ALL must match.

Example

{
"Type": "SetTeamByTag",
"Team": "Employer",
"Tags": ["defend_building_3b"]
}