UT GetNearestCreatureByTag

From Dragon Age Toolset Wiki
Revision as of 19:10, 10 February 2010 by BryanDerksen (Talk | contribs) (Created page with '{{dafunction |name = UT_GetNearestCreatureByTag |brief = Returns the nearest creature with a specific tag |param1type = object |param1name = oObject |param1desc = the object that...')

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Returns the nearest creature with a specific tag

object UT_GetNearestCreatureByTag(
object oObject,
string sTag,
int bIncludeSelf = FALSE
);
Parameters:
oObject
the object that we try to find a nearest creature from
sTag
the tag 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 tag

Source:

Core Resources.utility_h



See also

UT_GetNearestCreature, UT_GetNearestObjectByTag, UT_GetNearestCreatureByGroup, UT_GetNearestHostileCreature