Jump to content

Preventing Clickthrough on GUI


Recommended Posts

Hey guys! :)

I'm currently working on a big mod which includes changing the way kerbals are hired. So I wanted to change the look of the hiring tab (aka astronaut complex) by just overlaying a gui. But the problem is, that if you click on my added gui it may activate buttons which lay underneath it (hire, dismiss, etc.)

Is there any solution to this? 
Can I stop the click from going through? Can I prevent the vanilla Astronaut Gui from loading?

any advice is appreciated! :)

Link to comment
Share on other sites

3 hours ago, stoani96 said:

Hey guys! :)

I'm currently working on a big mod which includes changing the way kerbals are hired. So I wanted to change the look of the hiring tab (aka astronaut complex) by just overlaying a gui. But the problem is, that if you click on my added gui it may activate buttons which lay underneath it (hire, dismiss, etc.)

Is there any solution to this? 
Can I stop the click from going through? Can I prevent the vanilla Astronaut Gui from loading?

any advice is appreciated! :)

Are you aware of the mod TRP-Hire?  It does exactly that: 

 

Link to comment
Share on other sites

This thread is quite old. Please consider starting a new thread rather than reviving this one.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...