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
Property | Required | Default | Details |
---|---|---|---|
Type | true | SetTeamByLanceSpawnerGuid | - |
RegionGuid | true | - | Guid of the Region |
UnitType | true | - | Type of Unit to tag. Current supports: Building |
NumberOfUnits | false | 1 | Number of units to tag |
Tags | true | - | Tags to add to units |
Example
{"Type": "TagUnitsInRegion","RegionGuid": "21a03616-c88b-4edd-a9a9-b4dd54b46d6c","UnitType": "Building","NumberOfUnits": 4,"Tags": ["defend_building_3b"]}