View Single Post
01-20-18, 07:40 AM   #3
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
Thanks will give it a go.

*edit* Tested it. Works perfectly, thanks haste.

Lua Code:
  1. local player = oUF:Spawn("player", A.."Player")
  2. player:Disable()
  3. RegisterStateDriver(player, "visibility", "[combat][target,exists][modifier] show; hide")
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)

Last edited by zork : 01-20-18 at 07:45 AM.
  Reply With Quote