Thread Tools Display Modes
05-28-09, 05:59 PM   #1
phelaan
A Murloc Raider
Join Date: Jan 2008
Posts: 5
How do i target a unit in group or raid?

Since TargetUnit() or TargetUnitByName() is both not working anymore?

I need some code to do this via lua or piece of code to execute a macro from lua.

Last edited by phelaan : 05-28-09 at 06:00 PM. Reason: Clarification
  Reply With Quote
05-28-09, 06:03 PM   #2
Akryn
A Firelord
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 479
What do you need to do? Arbitrary targeting from insecure code has been disabled for years. There are limited ways to target but it's hard to suggest something without knowing what you're trying to do.
  Reply With Quote
05-28-09, 09:50 PM   #3
mikma
A Cyclonian
 
mikma's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2005
Posts: 45
Lua targeting, not possible.
Creating a macro with lua that is targeting people is possible, but changing the name of target in the macro is possible only out of combat.

Last edited by mikma : 05-28-09 at 10:04 PM.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » How do i target a unit in group or raid?


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