79135 4 Posted April 14, 2019 Share Posted April 14, 2019 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 More sharing options...
Matenia 625 Posted April 14, 2019 Share Posted April 14, 2019 bool visible = Lua.LuaDoString<bool>("return GroupLootFrame:IsVisible()"); Link to comment Share on other sites More sharing options...
79135 4 Posted April 14, 2019 Author Share Posted April 14, 2019 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 More sharing options...
Droidz 2733 Posted April 14, 2019 Share Posted April 14, 2019 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? 79135 1 Link to comment Share on other sites More sharing options...
79135 4 Posted April 14, 2019 Author Share Posted April 14, 2019 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now