GetNearestObjectToLocation
From Dragon Age Toolset Wiki
N nearest objects of a specific type to a Location
object[] GetNearestObjectToLocation(
location lLocation,
int nObjectType = OBJECT_TYPE_ALL,
int nNumberOfObjects = 1
);
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