Difference between revisions of "GetNearestObjectByGroup"
From Dragon Age Toolset Wiki
BryanDerksen (Talk | contribs) m (1 revision: re-import with default parameter value parameters set) |
Axe Murderer (Talk | contribs) m (spelling fixes) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
{{dafunction | {{dafunction | ||
|name=GetNearestObjectByGroup | |name=GetNearestObjectByGroup | ||
− | |brief=Returns N nearest | + | |brief=Returns N nearest objects of a specific type, with a specifc Group Id |
|param1type=object | |param1type=object | ||
|param1name=oObject | |param1name=oObject | ||
Line 39: | Line 39: | ||
== Description == | == Description == | ||
<!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --> | <!-- This section contains the full description from the functions comments. Do not change unless you are confident these are incomplete or incorrect. --> | ||
− | Returns N nearest | + | Returns N nearest objects of a specific type, with a specifc Group Id |
<!-- == Remarks == --> | <!-- == Remarks == --> |
Revision as of 20:26, 24 October 2009
This page was generated by Sunjammer's Dragon Age Script Parser.
The parser was unable to extract and/or match all the information required and has flagged this page as containing one or more errors. The source file was not formatted correctly and the information presented is incomplete or incorrect.
This page must be reviewed by a knowledgeable scripter as it will need to be updated. Once identified, the issue in the source file should be reported to BioWare.
Please remove the {{Generated with errors}} tag once the page has been corrected.
Returns N nearest objects of a specific type, with a specifc Group Id
[[object[] keyword|object[]]] GetNearestObjectByGroup(
object oObject,
int nGroupId,
int nObjectType = OBJECT_TYPE_ALL,
int nNumberOfObjects = 1,
int nCheckLiving = 0,
int nCheckPerceived = 0,
int nIncludeSelf = 0
);
object oObject,
int nGroupId,
int nObjectType = OBJECT_TYPE_ALL,
int nNumberOfObjects = 1,
int nCheckLiving = 0,
int nCheckPerceived = 0,
int nIncludeSelf = 0
);
- Parameters:
- oObject
- target Object
- nGroupId
- Group Id for the objects to query
- nObjectType
- type for the objects to query for their distance
- nNumberOfObjects
- (optional) Number of objects to return
- nCheckLiving
- (optional) only returns objects if they are alive
- nCheckPerceived
- (optional) only returns objects if they are within the perception radius
- nIncludeSelf
- [Undocumented]
- Returns:
- [Undocumented]
- Source:
- script.ldf
Description
Returns N nearest objects of a specific type, with a specifc Group Id