sm.construction.buildBlock

Builds a block on a shape.

Kind: Function

Environments: Game

Game

Overload 1

sm.construction.buildBlock( uuid, localPosition, shape )

Open the full Game reference

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 )

Open the full Game reference

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 )

Open the full Game reference

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 )

Open the full Game reference

Availability: Server only

Builds a block on terrain.

Parameters:

Name Type Description
uuid Uuid The uuid of the block to build.
localPosition Vec3 The position to build the block on.