"or" statements in actions Explore the community › Forums › CenarioVR › CenarioVR Questions & Answers › "or" statements in actions Viewing 3 posts - 1 through 3 (of 3 total) Author Posts January 23, 2019 at 9:03 pm #415998 Score: 0 MITCHELL MARCIALESMember Karma: 1 pt@mmarciales6815 Hello, I’ve been trying to get “or” statements to work in Cenario VR. This is what I mean by “or” statements: I have scene A with a hotspot that links to scene B. Scene B has 4 different options to click on. Scene B also has another hotspot to take you back to scene A. I want the hotspot in scene A to disappear if and ONLY if ANY of the 4 diferent options in scene B have been clicked on. I tried adding 4 separate actions: Scene A \ on show\ \show\ Scene A hotspot \if\ X1 \has not been shown\ (when you click on the thing it shows a lot of stuff) \show\ Scene A hotspot \if\ X2 \has not been shown\ \show\ Scene A hotspot \if\ X3 \has not been shown\ \show\ Scene A hotspot \if\ X4 \has not been shown\ I thought this might trigger an “or” statement in the action (e.g. if you do X1 or X2 or X3 or X4, Z will happen), but it doesn’t work. Hopefully I’m making sense. 🙁 January 24, 2019 at 8:48 am #416035 Score: 0 John BlackmonModerator Karma: 41 pts@johnb I think the simplest way to handle this is using a transparent image on scene B object as a “boolean” value. Try this: Add an image object in scene B with a completely transparent PNG (or you could just use a transparent hotspot). Set it to initially not visible. If any of the hotspots on scene B are selected, add an action to show the transparent image/hotspot (which won’t actually show anything) For your condition on Scene A check to see if the transparent image/hotspot has been shown I use logic similar to this for the Office Safety scenario. January 29, 2019 at 8:56 pm #416417 Score: 0 MITCHELL MARCIALESMember Karma: 1 pt@mmarciales6815 It worked. Thanks! Author Posts Viewing 3 posts - 1 through 3 (of 3 total) You must be logged in to reply to this topic.