Thread Tools Display Modes
09-03-18, 12:12 PM   #1
jessica
A Cyclonian
Join Date: Jun 2010
Posts: 49
Weakaura question/help

I want to create a simple thing, an indication of being rested, a "Zzz" icon, the same that blizzard shows on your unitframe, because I'm using an addon that changes all unitframes but it doesn't show the Zzz indication, I know its easy to spot an innkeeper or rested place if you logout quickly, but I just want that luxury of seeing the ZzZ icon indication, I just like it.

Can weakaura do that? thanks.
  Reply With Quote
09-03-18, 02:04 PM   #2
JDoubleU00
A Firelord
 
JDoubleU00's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 463
What addon are you using for the unit frames? Everyone I'm aware of lets you configure displaying things like that.
__________________
Author of JWExpBar and JWRepBar.
  Reply With Quote
09-03-18, 02:50 PM   #3
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,871
In the addon it might be called something "Status Icon" as rested is just one state a unit can be in during play eg. dead, disconnected, rested etc.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 09-03-18 at 03:00 PM.
  Reply With Quote
09-03-18, 02:51 PM   #4
Kanegasi
A Molten Giant
 
Kanegasi's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2007
Posts: 666
Trigger:

Lua Code:
  1. function() return IsResting() end

Untrigger:

Lua Code:
  1. function() return not IsResting() end

Edit: I don't know if WeakAuras supports direct textures, but this is the data for the rest icon:

Texture: Interface\CharacterFrame\UI-StateIcon
Texcoords: 0, 0.5, 0, 0.421875

There's also an icon with "ZZZ", but it has a "x2" on it. WeakAuras has an icon box for this: 648642

This is what the icon looks like: https://www.wowhead.com/icon=648642

Last edited by Kanegasi : 09-03-18 at 03:10 PM.
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » AddOn Help/Support » Weakaura question/help

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