CONTENT CONTRACT · VERSION 1
teleport
Relocate a living actor to a free position; the host validates and replicates the relocation.
Signature
{ kind: "teleport", position: Position, target: ActorRef }Fields
| Name | Type | Meaning |
|---|---|---|
kind | "teleport" | Discriminant |
position | Position | Destination together with its map instance. |
target | ActorRef | Actor instance selected by the item-use target contract. Length: 1…256; Pattern: ^[\s\S]+$ |
Validated example
{
"kind": "teleport",
"position": {
"map": "m1",
"x_mm": 4000,
"y_mm": 0,
"z_mm": -2500
},
"target": "a1"
}