Jump to content
Sign in to follow this  
Zalex

Desperately needs help with Jet's mouse syst

Recommended Posts

Howdy everyone, 

I'm new here so hopefully I haven't started this topic at the wrong. 

So, I'm currently having issues with Jet's Mouse System :

https://forums.rpgmakerweb.com/index.php?threads/mouse-system.3065/

 

The script offers the ability to have an event with a text hovering over it when you slide your mouse across. 

Now however, the big issues is that. When I make a picture call, the hovering text appears above the picture 

I tried to look desperately for a way to change the hovering text's z value, but to no avail. There's a switch to turn the script on or off, which I tried to turn on to disable the script when a picture appears in an event, but it only disables the mouse's cursor and if you hover your mouse around the picture, the text still appears above it. 

Any good soul to help me find a way to fix that. 

Knowing that I'm a script noob. 

Thanks

Share this post


Link to post
Share on other sites

Use this to alter the event hover text's Z position:

class Window_MousePopUp < Window_Base
  
  alias :initialize_z :initialize
  def initialize(event, text)
    initialize_z(event, text)
    self.z = 40
  end
end

The actual modification is just a single line of code, but I think it's still better to have modifications separately when you're an inexperienced scripter.

So basically paste it BELOW the cursor script and adjust the self.z to your needs. Pictures are drawn around z=50, so I think 40 should make the hover text appear beneath them.

 

You can of course just paste the self.z line to the mouse script itself if you prefer.

Share this post


Link to post
Share on other sites

The OP has reported, that the issue has been solved. Since this thread has served its purpose, it will be locked.

 

You're welcome. 🙂

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
Top ArrowTop Arrow Highlighted