Skip to content

Ground

Object which references the ground spawn item you have targeted.

Forms

ground Ground

Access currently targeted ground item.

Associated DataTypes

ground

Represents a ground item.

Members

float DisplayName

Displays name of the grounspawn

int Distance

Distance from player to ground item

int Distance3D

Distance from player to ground item

heading Heading

Ground item is facing this heading

heading HeadingTo

Direction player must move to meet this ground item

int ID

Ground item ID (not the same as item ID, this is like spawn ID)

bool LineOfSight

Returns TRUE if ground spawn is in line of sight

string Name

Name

int SubID

???

int ZoneID

???

float X

X coordinate

float Y

Y coordinate

float Z

Z coordinate

float W

X coordinate (Westward-positive)

float N

Y coordinate (Northward-positive)

float U

Z coordinate (Upward-positive)

ground First

First spawn

ground Last

Last spawn

ground Next

Next spawn

ground Prev

Prev spawn

string To String

Same as ID

Usage

/echo ${Ground.Distance}

Echos the distance to the ground item you have targeted.