Page 1 of 1

Target lists

Posted: Fri Nov 16, 2018 5:16 pm
by ggibbon
Hi Hopki

me again.
Is it possible to list more than one target
within the target window and how.


Thanks
Greg
Capture.JPG
Capture.JPG (27.06 KiB) Viewed 266 times

Re: Target lists

Posted: Fri Nov 16, 2018 5:44 pm
by Hopki
Hi Greg,
You could use regular expressions as found here: https://ggnome.com/wiki/Using_regular_e ... e_elements
But with Pano2VR 5 and 6 you would use a variable.

Example set a variable, something like: vis_point, true/false, set to false.

Then have a button that has the action:
Source: Mouse Click
Action: Set Variable Value
Variable Name: vis_point
Operation: Not(¬)

This button will toggle the variable between true and false.

You can also have buttons that each set true and then false:
Source: Mouse Click
Action: Set Variable Value
Variable Name: vis_point
Operation: true

And

Source: Mouse Click
Action: Set Variable Value
Variable Name: vis_point
Operation: false


Then deselect visible in both Point01 and Point02 and set a visible logic block
*vis_point = true, visible true.
Regards,
Hopki