getLowLODElement | Multi Theft Auto: Wiki Skip to content

getLowLODElement

Client-side
Server-side
Shared

Pair: setLowLODElement

Manual Review Required

Please finish this page using the corresponding Old Wiki article. Go to Contribution guidelines for more information.


This function return the low LOD element that an element is associated with.

OOP Syntax Help! I don't understand this!

  • Method:element:getLowLOD(...)
  • Variable: .lowLOD

Syntax

element getLowLODElement ( element theElement )
Required Arguments
  • theElement: The element whose low LOD version we want to get.

Returns

  • element: value

Returns a low LOD element if successful, false otherwise.

Code Examples

shared

This example is not done yet:

local obj = createObject(1488,0,0,3,0,0,90) -- Create object
local lod_obj = createObject(1337,0,0,3,0,0,90,true) -- Create LOD object
setLowLODElement(obj,lod_obj) -- Setting LOD, 'attach' to obj
local lod_get = getLowLODElement(obj) -- Get LOD from obj
--lod_get = lod_obj

See Also

Element Functions