Minion Beta! - Help us test our new AddOn updater. Get it now!
Download
(3 Kb)
Download
Updated: 01-05-09 09:08 PM
Addon for:
oUF.
Pictures
File Info
Updated:01-05-09 09:08 PM
Created:01-05-09 09:08 PM
Downloads:2,683
Favorites:13
MD5:
oUF AFKIcon
Version: v1.1-Release
by: PProvost [More]
==Overview ==

oUF_AFKIcon adds a customizable AFK Icon to oUF Unit Frames configured to use it.

This addon is not a unit frame! To work, it requires both oUF and an oUF layout configured to use it.

==Usage:==

oUF_AFKIcon is a addon that adds a customizable AFK Icon to your custom oUF unit
frame layouts. It does nothing by itself and requires both oUF and an oUF layout
to function.

To use this in your layout, you will need an AFKIcon member on your
oUF unit object (self):

Code:
 local afkIcon = hp:CreateTexture(nil, "OVERLAY")
 afkIcon:SetPoint("CENTER", name, "CENTER")
 afkIcon:SetWidth(16)
 afkIcon:SetHeight(16)
 afkIcon:Hide()
 self.AFKIcon = afkIcon
This example makes the icon parented on the healthbar, and centers it on the
unit name textstring.

The default icon is a 16x16 red circle with a white exclamation point, but
you can also override this by setting the AFKIconTexture member of your
unit object to a valid path:

self.AFKIconTexture = "Interface\\Addons\\oUF_MyLayout\\AFKIcon.tga"
Post A Reply Comment Options
Unread 07-30-09, 06:55 AM  
lolita221
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
How can i make it work pls
lolita221 is offline Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: