Karos Graveyard ::
Function Reference :: Scope Reference :: Variable Reference
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:
 Comments [Hide comments/form]
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.
-- MiKail (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)
:: ::