Function; SobGroup_GetPosition - HWRM/KarosGraveyard GitHub Wiki

SobGroup_GetPosition(<sSobGroupName>)

Description

Gets the position of <sSobGroupName>.
Returns a table consisting of the sobgroup's X, Y, and Z coordinates (in that order).

Example

sob_position = SobGroup_GetPosition("sg_mygroup")

Arguments

<sSobGroupName>: the name of the sobgroup.

Related Pages

Function Reference

Definition: handedness

Comments

Coordinates are returned in XYZ order. It's the handedness of the coordinate system that is backwards when compared to many other programs, not the order in which the coordinate values are stored in tables.

--Mikali (2007-01-10 01:46:22)

Starting with, using the example on the page, sob_position[1] to ..[3]

--Mostly_harmless (2007-01-29 10:28:19)

Page Status

Updated Formatting? Initial
Updated for HWRM? Initial