Jump to content

Check if GroupLootFrame is visible


79135

Recommended Posts

How to check at wow ver vanilla what GroupLootFrame is visible?

string isVisible= Lua.LuaDoString<string>("i = 'no'  if GroupLootFrame:IsVisible() then i = 'yes' end; return i"); dont work

Link to comment
Share on other sites

5 minutes ago, Matenia said:

bool visible = Lua.LuaDoString<bool>("return GroupLootFrame:IsVisible()");

Logging.Write(Lua.LuaDoString<bool>("return GroupLootFrame:IsVisible()").ToString()); log write false, even visible frame group loot..

Link to comment
Share on other sites

8 minutes ago, Droidz said:

hi,

https://eu.battle.net/forums/en/wow/topic/9052907239

try code like


Lua.LuaDoString<bool>("for i = 1, 4 do local b = _G['GroupLootFrame'..i] if b and b:IsVisible() then return true end end return false")

 When will you share your work with the community?

It is work, thanks a lot! My profile work with my setting and will be badly for another users

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...