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

Function

setElementRadius

ServerElementsTrilogy Hub only

Sets the element's bounding radius used in geometry queries (e.g. line of sight, zones).

Syntax

bool setElementRadius(element theElement, float radius)

Arguments

theElementelement
The element.
radiusfloat
Radius in metres.

Returns

true on success.

Example

setElementRadius(bigObject, 12)

See also