TeleportCommand

Extends: ESCBaseCommand < Resource

Description

teleport object target

Instantly moves an object to a new position.

Parameters

  • object: Global ID of the object to move

  • target: Global ID of the object to use as the destination coordinates for object

@ESC

Method Descriptions

configure

func configure() -> ESCCommandArgumentDescriptor

Return the descriptor of the arguments of this command

validate

func validate(arguments: Array)

Validate whether the given arguments match the command descriptor

run

func run(command_params: Array) -> int

Run the command

interrupt

func interrupt()

Function called when the command is interrupted.