Hi all,
I had and still have a problem that I post some day ago about trying to scale a ActionBar:
https://www.wowinterface.com/forums/...ad.php?t=57047
The problem is still there even if Fizzlemizz and Terenna suggest some changes at the code.
I have tried to use someting like:
Lua Code:
MultiBarRight:HookScript('OnSizeChanged', function()
if not UnitAffectingCombat("player") then
if MultiBarRight:GetScale() > 0.81 then
MultiBarRight:SetScale(0.8)
end
end
end)
and I have seen that this bar changes a lot of time during gameplay from scale 0.8 to 1 (probably when the function is called in combat or on some state that make UnitAffectingCombat("player") true.
For example I had always an error when exit from "BeachHead" quest of Tortollan Seekers but using the :
Lua Code:
if not UnitAffectingCombat("player") then
...
end
there isn't error anymore, even if I have the ActionBar scale = 1 instead of 0.8 it was started the quest with.
Now I am here to ask if it is possible to have some clues on how generate a secure enviroment to make changes to UI element during combat or other state that can generate a taint.
Thanks so much.