GetNearestObjectToLocation

From Dragon Age Toolset Wiki
Revision as of 22:07, 2 March 2010 by BryanDerksen (Talk | contribs) (fill in missing parameters)

Jump to: navigation, search

N nearest objects of a specific type to a Location

object[] GetNearestObjectToLocation(
location lLocation,
int nObjectType = OBJECT_TYPE_ALL,
int nNumberOfObjects = 1
);
Parameters:
lLocation
Location from which to begin the search
nObjectType
type for the objects to query for their distance
nNumberOfObjects
(optional) Number of objects to return
Returns:

[Undocumented]

Source:

script.ldf

Description

Returns N nearest objects of a specific type to a Location