Skip to main content

77 docs tagged with "object"

View all tags

BeginObjectEditing

Allows a player to edit an object (position and rotation) using their mouse on a GUI (Graphical User Interface).

CreateObject

Creates an object at specified coordinates in the game world.

DestroyObject

Destroys (removes) an object that was created using CreateObject.

GetObjectRot

Use this function to get the objects current rotation.

MoveObject

Move an object to a new position with a set speed.

OnObjectMoved

This callback is called when an object is moved after MoveObject (when it stops moving).

OnPlayerEditObject

This callback is called when a player finishes editing an object (BeginObjectEditing/BeginPlayerObjectEditing).

OnPlayerObjectMoved

This callback is called when a player object is moved after MovePlayerObject (when it stops moving).

OnPlayerSelectObject

This callback is called when a player selects an object after BeginObjectSelecting has been used.

SetObjectMaterial

Replace the texture of an object with the texture from another model in the game.

SetObjectRot

Set the rotation of an object on the three axes (X, Y and Z).

StopObject

Stop a moving object after MoveObject has been used.