Skip to content

NecroButton – An alternative table for raising undead.

User Avatar
#38
Auto-translated
I added a tooltip; it turned out to be easier than taking candy from a child. It's even surprising that no one suggested this when the topic came up. I tried adding a hotkey by setting the default value in the input field for both the original and created profile, but nothing happened except for the letter "F" appearing, which is what I was trying to do. Apparently, there's nothing more I can come up with here. But there's still a small problem with the pop-up window: it's always centered on the button, regardless of how I move the button. However, I don't know where to move the window to the side (to the left). Any ideas?
This is what I got.

Even if I place it in the far upper right corner, the window doesn't change its position as needed, so I lowered it slightly so that the pop-up window wouldn't cover the button.


Added 21 hours 25 minutes ago
I'm struggling with one idea, namely disabling it with Esc. I found a similar implementation in the doc skills mod by Azarda. In the character menu, "Skills," pressing a button opens a window with a wheel, and pressing Esc closes it. The same thing exists in the modified version by vova2112, but already on the global map, where a table for raising undead appears.
I reviewed both versions countless times, and no matter how hard I try, I really don't understand where this is written or how it's implemented. If it's possible and someone knows how to implement it, please help.
Link to the mod /topic/15183/
It seems like I figured it out and added the ability to disable it with Esc, but there's a problem. The button remains in the "active" position after being disabled with Esc. As a result, it gets pressed without effect and only activates the window with the table on the second press.