Recent Topics

Ads

[MOTH Addon] How to make the tooltip static on the screen?

Share, discuss, and get help with addons for Return of Reckoning.
For most available addons, visit Idrinth's Addons site.
Forum rules
Before posting in this forum, please read the Terms of Use and visit Idrinth's Addons site for most available addons.
Karrier
Posts: 6

[MOTH Addon] How to make the tooltip static on the screen?

Post#1 » Mon Apr 10, 2023 10:29 pm

I like MOTH mouseover tooltip but I dont want it anchored to the cursor, I would like it fixed on the screen (like the default mouseover tooltip)

Does anyone know how to do it?


What I know so far:

On "MothProfiles.lua", line 34:

anchor = "cursor", -- | Moth Anchor Point -> String: cursor, or something else that's not "cursor", lol

If you change the word "cursor" to anything else, you can then move the "moth" window, using the layout editor ingame, but its position does not save if u re-start game, or if u do /reloadui
(see screenshots)

Image
Image


Any help is appreciated, thanks in advance :)

Ads
User avatar
Omegus
Posts: 1530

Re: [MOTH Addon] How to make the tooltip static on the screen?

Post#2 » Mon Apr 10, 2023 10:58 pm

This is untested, but try opening up Moth.xml and amending line 6 to:

Code: Select all

<Window name="Moth" handleinput="false" layer="default" savesettings="true">
That combined with changing the anchor to anything other than "cursor" as you mentioned in the OP should do the trick.
Zomega
Gone as of autumn 2024.

Karrier
Posts: 6

Re: [MOTH Addon] How to make the tooltip static on the screen?

Post#3 » Mon Apr 10, 2023 11:31 pm

Omegus wrote: Mon Apr 10, 2023 10:58 pm This is untested, but try opening up Moth.xml and amending line 6 to:

Code: Select all

<Window name="Moth" handleinput="false" layer="default" savesettings="true">
That combined with changing the anchor to anything other than "cursor" as you mentioned in the OP should do the trick.

oh thank you so much! it worked!

I was right now trying my luck with chatgpt AI (and failing a lot hehe) but your response was so fast :) thanks a lot

User avatar
Lilim
Posts: 1317

Re: [MOTH Addon] How to make the tooltip static on the screen?

Post#4 » Tue Apr 11, 2023 9:37 am

Omegus ChatGPT *noted*

Who is online

Users browsing this forum: No registered users and 2 guests