LT_draw_icon
void LT_draw_icon(number x,number y,string icon,number style)
number | x | The x coordinate of the icon's top left |
number | y | The y coordinate of the icon's top left |
string | icon | The name of the icon to draw |
number | style | Specifies the style to draw the icon in, with 0 drawing the icon normally |
DRAW Calling this outside of a drawing hook or on the server will crash the addon
Draws an icon. Icon names are a reference to the asset. The quick reference guide lists the icon name for each object be it an item, enemy, attribute, etc. Drawing an icon with style 1 will render it as a ghostly outline, while style 2 renders it faded and in grayscale.