View Single Post
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