WoW:API TargetNearestFriend: Difference between revisions
Jump to navigation
Jump to search
m (added function definition and description) |
No edit summary |
||
Line 1: | Line 1: | ||
{{wowapi}} | |||
{{protectedapi|2.0.1|}} | |||
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. | 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 == | == Parameters == | ||
:; backwards : Boolean : reverses the order of targetting units. | |||
:; | |||
Revision as of 12:26, 16 December 2006
← WoW API < TargetNearestFriend
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
- backwards
- Boolean : reverses the order of targetting units.