Skip to content

Obj OC/Object

Represents a model object.


Constructor

oc obj(int model, int unusedMotion = nil, int unusedUnk = nil)

Gets a new object.


Attributes

x

float obj.x

X position.


y

float obj.y

Y position.


y

float obj.z

Z position.

Methods

isValid

void obj->isValid()

⚠ Dummy function.

setGround

void obj->setGround()

Unknown.

dispOn

void obj->dispOn(int visible = true)

Set whether the obj is visible.

dispOff

void obj->dispOff(int invisible = true)

Set whether the obj is invisible.

moveMode

void obj->moveMode(int mode)

Sets the move mode.

isSetDir

int obj->isSetDir()

⚠ Dummy function.


setAct

void obj->setAct(int id, float speed = nil)

Sets the current action.


setRot

void obj->setRot(float x, float y, float z)

Sets obj rotation.


gravity

bool obj->gravity()

⚠ Dummy function.