SetObjectMoveTo

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
SetObjectMoveTo

Type: Function
Context: Server
Introduced: v1.0

Description

Set the object to move to the specified coordinates.

Syntax

SetObjectMoveTo(object, x, y, z [, speed])

Parameters

  • object
    The object identifier.
  • x
    The X axis
  • y
    The Y axis
  • z
    The Z axis
  • speed (optional)
    The speed as a floating point number. (Centimeter per second)

Return Value

  • Returns true on success.

Example

SetObjectMoveTo(object, 100, 100, 100, 2)

See also