wt_add_player_wings
Creates per-team tank and plane player wings plus a PlayerSquad for PvP/custom battles, replacing existing wings so area triggers can target all players.
Instructions
Create the player slots a PvP/custom-battle mission needs: per team A/B, per_type tank wings and plane wings
(atank_01.., aplane_01.., btank_01.., bplane_01..), registered as the team's wing entries, plus one squad PlayerSquad
containing all of them. Use object=PlayerSquad + useForTriggerFiltered=true in triggers to affect only the players in an
area (this is how ExploreCargoPort disables shooting: unitSetProperties cannotShoot=true). Replaces any existing player wings.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "wt_add_player_wings"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| per_type | No | ||
| squad_name | No | PlayerSquad |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |