API TargetNearestFriend
Talk1
98,458pages on
this wiki
this wiki
Revision as of 12:26, December 16, 2006 by Starlightblunder (Talk | contribs)
This function is PROTECTED, and can only be called from Blizzard code.
|
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.