SetText3DDimension

From Onset Developer Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
SetText3DDimension

Type: Function
Context: Server
Introduced: v1.0

Description

Sets the dimension of this text3d. Players can only see 3D texts in the same dimension.

  • Default dimension: 0
  • Maximum dimension: 4294967295

Syntax

SetText3DDimension(text3d, dimension)

Parameters

  • text3d
    The text3d identifier.
  • dimension
    The new dimension to set.

Return Value

  • This function returns true on success.

Example

local text3d = CreateText3D("Only visible in Dimension 10", 12, -199349, -39353, 1021, 0.0, 0.0, 0.0)
SetText3DDimension(text3d, 10)

See also