sm.construction.buildBlock
Builds a block on a shape.
Kind: Function
Environments: Game
Game
Overload 1
sm.construction.buildBlock( uuid, localPosition, shape )
Availability: Server only
Parameters:
| Name | Type | Description |
|---|---|---|
uuid |
Uuid | The uuid of the block to build. |
localPosition |
Vec3 | The position to build the block on. |
shape |
Shape | The shape to build on. |
Overload 2
sm.construction.buildBlock( uuid, localPosition, joint )
Availability: Server only
Builds a block on a joint.
Parameters:
| Name | Type | Description |
|---|---|---|
uuid |
Uuid | The uuid of the block to build. |
localPosition |
Vec3 | The position to build the block on. |
joint |
Joint | The joint to build on. |
Overload 3
sm.construction.buildBlock( uuid, localPosition, lift )
Availability: Server only
Builds a block a lift.
Parameters:
| Name | Type | Description |
|---|---|---|
uuid |
Uuid | The uuid of the block to build. |
localPosition |
Vec3 | The position to build the block on. |
lift |
Lift | The lift to build on. |
Overload 4
sm.construction.buildBlock( uuid, localPosition )
Availability: Server only
Builds a block on terrain.
Parameters: