Wikia

WoWWiki

API TargetNearestFriend

Talk1
101,311pages on
this wiki
WoW API < TargetNearestFriend

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.

TargetNearestFriend({backwards})

Parameters Edit

backwards 
Boolean : reverses the order of targetting units.

Around Wikia's network

Random Wiki