WoW:API TargetNearestFriend

From AddOn Studio
Revision as of 09:31, 10 May 2006 by WoWWiki>Tularis (added function definition and description)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function will select the nearest unit friendly towards you (i.e. is green if you would target it). It has nothing to do with whether you have added the unit to your friends list or not.

Parameters

Function

TargetNearestFriend()
Selects the nearest friendly unit as the current target.

Returns

nil.



Template:WoW API