CONTENT CONTRACT · VERSION 1
move_to
Start a persisted navigation order of an AI-controlled actor; movement_finished reports its end.
Signature
{ kind: "move_to", movement: MovementId, position: Position, request_key: Name, target: ActorRef }Fields
| Name | Type | Meaning |
|---|---|---|
kind | "move_to" | Discriminant |
movement | MovementId | Movement profile of the order. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: movement |
position | Position | Destination together with its map instance. |
request_key | Name | Key echoed by movement_finished. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
target | ActorRef | Actor the effect applies to. Length: 1…256; Pattern: ^[\s\S]+$ |
Validated example
{
"kind": "move_to",
"movement": "core:raider_move",
"position": {
"map": "m1",
"x_mm": 5000,
"y_mm": 0,
"z_mm": 5000
},
"request_key": "patrol",
"target": "a2"
}