Thread Tools Display Modes
Prev Previous Post   Next Post Next
06-22-20, 06:12 PM   #1
Walkerbo
A Cobalt Mageweaver
 
Walkerbo's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2010
Posts: 233
Raid target in strings

Hi all

I am the author of a small addon Swarm.

I am looking for help in how to use the wow api to insert a target marker icon into a chat string; eg
Lua Code:
  1. SendChatMessage(({skull}.."Hello World"), 'CHANNEL', nil, 1)

I can do it easily in a macro but have yet to crack doing the same within my addon.

I have worked out how to add a texture to a frame or button but not how to add a raid target icon to a string.

Any help with this would be great.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » Raid target in strings

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