LIVE_OBJECTS

Dynamic live objects in the game world.

Availability: Server-only

Methods


LIVE_OBJECTS.addCube

server

Add a live (synced) cube object visible to all players (server-side only)

Signature: obj action(num, num, num, num, num, num, num, obj)

Parameters:

NameTypeDescription
xnumX position
ynumY position
znumZ position
wnumWidth
hnumHeight
lnumLength/depth
snumScale
dataobjAdditional configuration

Returns: obj - The created live object

obj result = GAME.LIVE_OBJECTS.addCube(0, 10, 0, 5, 5, 5, 1, {});

LIVE_OBJECTS.removeObject

server

No description available

Signature: bool action()

Returns: bool

bool result = GAME.LIVE_OBJECTS.removeObject();