ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Server functions
  3. setElementLowLOD

Function

setElementLowLOD

ServerElementsTrilogy Hub only

Marks an object as a low-LOD model.

Syntax

bool setElementLowLOD(element theElement, bool enabled)

Arguments

theElementelement
The object.
enabledbool
true marks it.

Returns

true on success.

Example

local lod = createObject(4000, 1500, -1600, 13, 0, 0, 0, true)
setElementLowLOD(lod, true)

See also