SetDoorLocation

From Onset Developer Wiki
Revision as of 09:20, 14 December 2019 by 28days (talk | contribs)
SetDoorLocation

Type: Function
Context: Server
Introduced: v1.0

Description

Teleports a door to a specified location.

Syntax

SetDoorLocation(door, x, y, z)

Parameters

  • door
    The door identifier.
  • x
    World X location.
  • y
    World Y location.
  • z
    World Z location.

Return Value

  • Returns true on success. false if the door does not exist.

Example

SetDoorLocation(doorId, 0.0, 0.0, 0.0)

See also