Thread Tools Display Modes
06-22-06, 12:39 AM   #1
Chef_de_Loup
A Deviate Faerie Dragon
AddOn Author - Click to view addons
Join Date: Apr 2006
Posts: 12
Getting AFK/DND Status

Is there a way to include a function that resolves the status about a specific unit?

Like:
stat = GetUnitStatus(UnitID);

(String) stat can be "AFK", "DND" or nil, nil if no specific status is given

UnitID can be "player", "party1..4", "raid1..40", "target" but must be a player

Actual you can only resolve the status of friends.
  Reply With Quote
10-21-06, 06:16 AM   #2
Zeksie
A Fallenroot Satyr
AddOn Author - Click to view addons
Join Date: Aug 2006
Posts: 24
Originally Posted by Chef_de_Loup
Is there a way to include a function that resolves the status about a specific unit?

Like:
stat = GetUnitStatus(UnitID);

(String) stat can be "AFK", "DND" or nil, nil if no specific status is given

UnitID can be "player", "party1..4", "raid1..40", "target" but must be a player

Actual you can only resolve the status of friends.
No, you have to monitor the various chat channels and I think arg6 or 5 (can't recall) of a chat event contains whether they are AFK or DND. You'd need to maintain your own table of afk flags.

So yes, would be very nice to get such status. It must be available client side for it to display the <AFK> or <DND> next to their name.
  Reply With Quote

WoWInterface » Developer Discussions » Wish List » Getting AFK/DND Status

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