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:
| Name | Type | Description |
|---|---|---|
x | num | X position |
y | num | Y position |
z | num | Z position |
w | num | Width |
h | num | Height |
l | num | Length/depth |
s | num | Scale |
data | obj | Additional 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();