How to close a screen tint

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
User avatar
JMonaco
Posts: 17
Joined: Thu Jul 05, 2018 11:43 am
Location: California
Contact:

How to close a screen tint

Post by JMonaco » Tue Jul 10, 2018 6:11 am

My goal is to have a screen tint (50% alpha rectangle) disappear, along with a welcome text message when a user clicks anywhere on the pano. I searched for "tint" in the forum, but couldn't find an answer. Am sure I missed it somewhere. I thought that for the rectangle, having an action of source=mouse click, action=hide element, and target=$self would work, but the rectangle remains visible with no change. How does one achieve my goal? (Sorry if it's been asked before). Thanks, John

User avatar
Hopki
Gnome
Posts: 8761
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: How to close a screen tint

Post by Hopki » Tue Jul 10, 2018 11:34 am

Hi John,
The message would have:
mouse click, hide element, self
mouse click, hide element, tint (rectangle)

Then the tint would have:
mouse click, hide element, self
mouse click, hide element, message

So it does not matter which element you click both will hide.
Regards,
Hopki

User avatar
JMonaco
Posts: 17
Joined: Thu Jul 05, 2018 11:43 am
Location: California
Contact:

Re: How to close a screen tint

Post by JMonaco » Wed Jul 11, 2018 1:37 am

Also learned that I should not have had permeable checked.

User avatar
Hopki
Gnome
Posts: 8761
Joined: Thu Jan 10, 2008 3:16 pm
Location: Layer de la Haye, Essex UK
Contact:

Re: How to close a screen tint

Post by Hopki » Wed Jul 11, 2018 10:38 am

Yep, that would do it. :D
Cheers,
Hopki

Post Reply

Who is online

Users browsing this forum: No registered users and 11 guests