[REQUEST] "Hold to interact" element
Hello,
Can anyone make simple addon to be able to move the "Hold to Interact" window that comes up when you look at players? It's smack dab in the middle of where I want to put my player frames. Thanks for anything, in advance. |
Hey, the window dissapear when you enter into the cursor mode so it is not that easy to implement.
|
Quote:
|
This code can move it:
Lua Code:
|
Sorry for being a bit slow.. not new to addons, just new to coding them ;)
So, am I to understand that I should be using the code above in the creation of the addon itself? I just want to make sure I'm not missing some easier way to do this (copy/paste would be so nice lmao) before I undertake the task of attempting to make my first addon. :eek: Cheers :banana: |
The code from Garkin looks like it 's plain C&P yes. :)
Just put it in your Addon intiailization and adjust the Anchor (BOTTOM, ZO_PlayerToPlayerArea, BOTTOM) and/or Offset (0, -350). |
Thanks, wish me luck!
|
Hmm i m reseting a position UI with a reloadui, and i find it very trashy but functionnal...
I tryed first with this way (clear and reset anchor), but the function works once and never do it again. :/ |
Quote:
But if you want stand-alone version you should have something like this: MoveInteract.txt: Code:
## Title: Move "Hold to Interact" Lua Code:
|
I got it, but my problem remains. I will start a new thread. Because it doesnt concern the "Hold to interact".
|
Quote:
|
Has anyone written a plugin that binds trade with player to a single key, rather than having to go through the "Hold to Interact" rigmarole.
|
All times are GMT -6. The time now is 05:48 AM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI