View Single Post
05-21-14, 11:28 AM   #4
ravagernl
Proceritate Corporis
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 1,176
According to posters on the US forums, the client thinks you are in combat after all the event handlers registered to PLAYER_REGEN_DISABLED are handled.

http://us.battle.net/wow/en/forum/to...9697?page=1#10

This is still doable. Right now on the PTR (build 18224):
Code:
local f=CreateFrame("Frame")
f:SetScript("OnEvent",function(self,event)
 SetCVar("nameplateShowEnemies",event=="PLAYER_REGEN_DISABLED" and 1 or 0)
end)
f:RegisterEvent("PLAYER_REGEN_ENABLED")
f:RegisterEvent("PLAYER_REGEN_DISABLED")
will hide nameplates out of combat and show nameplates in combat.
OFFTOPIC: Am I right if this gnome is actually a very famous AddOn author here :P?

Last edited by ravagernl : 05-21-14 at 11:38 AM.
  Reply With Quote