SetObjectScale

From Onset Developer Wiki
Revision as of 18:19, 30 August 2020 by BlueMountains (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
SetObjectScale

Type: Function
Context: Server
Introduced: v1.0

Description

Set's the size scaling of the object.

Syntax

SetObjectScale(object, sx, sy, sz)

Parameters

  • object
    The object identifier
  • sx
    The scale X axis
  • sy
    The scale Y axis
  • sz
    The scale Z axis

Return Value

  • Returns true on success.

Example

SetObjectScale(objectId, 10.0, 10.0, 10.0)

See also