Alternative to attach to Personal Player Resources
Hi,
Im attaching stuff to the personal player resources so that it moves with the camera. In most cases the following code works perfectly: Lua Code:
Where it does not work Is for example when im in fight, accidently press alt + y (alt + z in USA) which hides the UI, press it again to get the UI back while still being in fight. The UI is completely messed up then and I can only fix it by getting out of the fight and reloading the UI (or doing alt +y twice again). Also when im attaching other addons, like grid2 for example, they sometimes call stuff like Code:
GetLeft() So im thinking if there are alternatives. Can you for example attach stuff to the camera? Or measure the diff between display border and characters Y position on the screen? Any other alternative someone could think of? |
My suggestion would be to change the keybind that hides the UI, like ctrl-alt-shift-P or something crazy enough that you'll never accidentally hit it and it doesn't interfere with any other keybind.
|
Yeah that was what I did actually ;)
But there is other stuff happening. Attaching other AddOns to the player resources also sometimes causes issues. For example on Grid2, everytime when you invite somone Grid2 is getting measured and you will get errors when you attached Grid2 to the personal player resources frame. Raven is not useable at all when you attach it. |
All times are GMT -6. The time now is 06:19 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI