set_unit_stance
Sets unit combat stance—violent, aggressive, defensive, passive, standground, or skittish—to control pursuit and fleeing behavior in 0 A.D.
Instructions
Set violent, aggressive, defensive, passive, standground or skittish.
violent chases beyond unit vision; aggressive chases within vision; defensive stays near its position; standground never pursues; passive flees when attacked; skittish flees on sight.
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": {
"entity_ids": "<entity_ids>",
"stance": "<stance>"
},
"name": "set_unit_stance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stance | Yes | ||
| entity_ids | Yes |