Difference between revisions of "UT GetNearestCreature"

From Dragon Age Toolset Wiki
Jump to: navigation, search
(Created page with '{{dafunction |name = UT_GetNearestCreature |brief = Returns the nearest creature |param1type = object |param1name = oObject |param1desc = the object that we try to find a nearest...')
 
(No difference)

Latest revision as of 19:07, 10 February 2010

Returns the nearest creature

object UT_GetNearestCreature(
object oObject,
int bIncludeSelf = FALSE
);
Parameters:
oObject
the object that we try to find a nearest creature from
bIncludeSelf
Whether to include oObject in the candidate objects to return
Returns:

the nearest creature to oObject

Source:

Core Resources.utility_h



See also

UT_GetNearestCreatureByTag, UT_GetNearestObjectByTag, UT_GetNearestCreatureByGroup, UT_GetNearestHostileCreature