Thread Tools Display Modes
12-30-10, 01:13 PM   #1
vbaspcppguy
A Murloc Raider
Join Date: Jan 2008
Posts: 8
Raid target icon with Print?

I've got this addon printing raid target icons to chat with {rt1} ect, but how do I get them to show up when just printing to the console and not sending to chat?

Any help would be appreciated.
  Reply With Quote
12-30-10, 02:46 PM   #2
SDPhantom
A Pyroguard Emberseer
 
SDPhantom's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2006
Posts: 2,335
You need to use the texture escape sequence.

Example:
Code:
print("|TInterface\\TargetingFrame\\UI-RaidTargetingIcon_8|t");
This will print the skull raid mark in the chat frame.

More info on WoWWiki: UI Escape Sequences.
Note: The raid icon links, like the one you posted only work when sending as a chat message, you need to use this texture path to access the raid markers.
__________________
WoWInterface AddOns
"All I want is a pretty girl, a decent meal, and the right to shoot lightning at fools."
-Anders (Dragon Age: Origins - Awakening)

Last edited by SDPhantom : 12-30-10 at 02:48 PM.
  Reply With Quote
12-30-10, 03:41 PM   #3
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
ehm Wowpedia is the new site everyone moved to from WoWWiki .. (unless you still prefer to link that on the forums)
  Reply With Quote
12-30-10, 06:12 PM   #4
vbaspcppguy
A Murloc Raider
Join Date: Jan 2008
Posts: 8
Thats both of you... I had no idea where to look for that texture escape stuff...and I hadn't seen wowpedia yet.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » Raid target icon with Print?


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