Category: oUF: Plugins
Addon Information
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
PProvost's Portal Bug Reports Feature Requests

This file is a Addon for oUF by haste. You must have that installed before this Addon will work.

Author:
Version:
v1.1-Release
Date:
01-05-2009 10:08 PM
Size:
3.01 Kb
Downloads:
1,058
Favorites:
15
MD5:
Pictures
AFK!
oUF AFKIcon
==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"
  Comments - oUF AFKIcon
Post A Reply Comment Options
Old 07-30-2009, 08:55 AM  
lolita221
A Kobold Labourer

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



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.