Thread Tools Display Modes
06-24-05, 04:33 AM   #1
Fragged
A Kobold Labourer
Join Date: Jun 2005
Posts: 1
Help with unit targetting

Given multiple units with the same friendly name like "Ironforge Guard" does anyone have a reliable way of cycling through them for targetting?

TargetUnit doesn't seem to do waht I want, nor does TargetNearestFriend
  Reply With Quote
06-24-05, 06:01 AM   #2
Gello
A Molten Giant
AddOn Author - Click to view addons
Join Date: Jan 2005
Posts: 521
TargetNearestFriend() is the closest you'll get

The targeting system in WoW is really awful, tho it may be by design since so much can be automated.
  Reply With Quote
07-19-05, 11:19 AM   #3
Drowsey
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Jul 2005
Posts: 7
and I am starting to use IsUnitPlayer in some cases where I am not interested in pets, and animals, but only players.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Help with unit targetting

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off