Everything works fine until an in game cinematic plays. It places it back into the default position.
I have also tried triggering itself with events:
local function eventHandler(self, event, ...)
for i = 1, 1 do
if CharacterMicroButton then
CharacterMicroButton:ClearAllPoints()
CharacterMicroButton:SetPoint("CENTER",UIParent,"CENTER",0,0)
end
end
end
CharacterMicroButton:SetScript("OnEvent",eventHandler)
Triggering outside events also trying HookScript in case it is protected:
CharacterMicroButton:HookScript("OnEvent", function(self, event, arg1)
if event == "PLAYER_LOGIN" then
self:ClearAllPoints()
self:SetPoint("CENTER",UIParent,"CENTER",0,0)
end
end)
All to no avail.
Any ideas anyone ? :)
Thanks for any help
Cheers!
To clarify I have tried the following which is both standard fare as well as what is registered in the default micro menu frames:
"CINEMATIC_STOP"
"PLAYER_LOGIN"
"PLAYER_ENTERING_WORLD"
"UPDATE_BINDINGS"
"NEUTRAL_FACTION_SELECT_RESULT"
"UNIT_PORTRAIT_UPDATE"
"UPDATE_SHAPESHIFT_FORM"
"UPDATE_SHAPESHIFT_FORMS"
"UPDATE_STEALTH"
"UPDATE_BONUS_ACTIONBAR"
"PET_BATTLE_OVER"
"PET_BATTLE_CLOSE"
I also went through the entire Event catalog A - Z and looked for and tried anything that I thought may work either by direct reference or indirect means, short of an OnUpdate or Player Regen Enabled finagling.
2. If that doesn't work (it might auto-close when a cinematic starts, or it might not update while it's hidden) you can always use :RegisterAllEvents() on your own frame to record what's happening.
I have moved the micro menu buttons and when a movie plays it gets reset to default position.
If I do this simple movement:
Everything works fine until an in game cinematic plays. It places it back into the default position.
I have also tried triggering itself with events:
Triggering outside events also trying HookScript in case it is protected:
All to no avail.
Any ideas anyone ? :)
Thanks for any help
Cheers!
To clarify I have tried the following which is both standard fare as well as what is registered in the default micro menu frames:
"CINEMATIC_STOP"
"PLAYER_LOGIN"
"PLAYER_ENTERING_WORLD"
"UPDATE_BINDINGS"
"NEUTRAL_FACTION_SELECT_RESULT"
"UNIT_PORTRAIT_UPDATE"
"UPDATE_SHAPESHIFT_FORM"
"UPDATE_SHAPESHIFT_FORMS"
"UPDATE_STEALTH"
"UPDATE_BONUS_ACTIONBAR"
"PET_BATTLE_OVER"
"PET_BATTLE_CLOSE"
I also went through the entire Event catalog A - Z and looked for and tried anything that I thought may work either by direct reference or indirect means, short of an OnUpdate or Player Regen Enabled finagling.
2. If that doesn't work (it might auto-close when a cinematic starts, or it might not update while it's hidden) you can always use :RegisterAllEvents() on your own frame to record what's happening.
3. If there is no useful event, you can also just securehook the default UI's UpdateMicroButtonsParent and/or MoveMicroButtons functions.