Set Team By Lance Spawner Guid Result

The SetTeamByLanceSpawnerGuid result sets the team of units by their LanceSpawnerGameLogic Guid.

This can be used to change the team of mechs, turrets or any other unit that spawns from a LanceSpawnerGameLogic (like in some modpacks - vehicles).

Properties

PropertyRequiredDefaultDetails
TypetrueSetTeamByLanceSpawnerGuid-
RegionGuidtrue-Guid of the Region
UnitTypetrue-Type of Unit to tag.

Current supports: Building
NumberOfUnitsfalse1Number of units to tag
Tagstrue-Tags to add to units

Example

{
"Type": "TagUnitsInRegion",
"RegionGuid": "21a03616-c88b-4edd-a9a9-b4dd54b46d6c",
"UnitType": "Building",
"NumberOfUnits": 4,
"Tags": ["defend_building_3b"]
}