EverambleGAME API / 1

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

NameTypeMeaning
kind"teleport"Discriminant
positionPositionDestination together with its map instance.
targetActorRefActor 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"
}