Difference between revisions of "UT GetNearestCreatureByGroup"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Created page with '{{dafunction |name = UT_GetNearestCreatureByTag |brief = Returns the nearest creature from a specific group |param1type = object |param1name = oObject |param1desc = the object th...')
 
m
 
Line 32: Line 32:
 
<!-- This section contains links to articles, functions or constant groups. -->
 
<!-- This section contains links to articles, functions or constant groups. -->
  
[[UT_GetNearestCreature]], [[UT_GetNearestObjectByTag]], [[UT_GetNearestCreatureByGroup]], [[UT_GetNearestHostileCreature]]
+
[[UT_GetNearestCreature]], [[UT_GetNearestObjectByTag]], [[UT_GetNearestHostileCreature]]

Latest revision as of 19:12, 10 February 2010

Returns the nearest creature from a specific group

object UT_GetNearestCreatureByTag(
object oObject,
int nGroup,
int bIncludeSelf = FALSE
);
Parameters:
oObject
the object that we try to find a nearest creature from
nGroup
the group of the creature we are looking for
bIncludeSelf
Whether to include oObject in the candidate objects to return
Returns:

the nearest creature to oObject with the specified group

Source:

Core Resources.utility_h



See also

UT_GetNearestCreature, UT_GetNearestObjectByTag, UT_GetNearestHostileCreature