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.