Can placeholders be used for linking nodes?

Special forum to share and discuss skins for Pano2VR and Object2VR
Post Reply
JPasnikowski
Posts: 54
Joined: Fri Apr 22, 2016 10:42 am

Can placeholders be used for linking nodes?

Post by JPasnikowski » Tue Jul 03, 2018 10:03 pm

Here's the scenario...
I have to sets of image nodes for the same place... "before" and "after". Each set is linked to itself... meaning all the "befores" are linked together, and all the "afters" are linked to themselves as well, as two separate tours.

I want to make it so if you're on "before", you can click on a button called "switch to after", and it will take you to the corresponding node, same orientation, in the "after" set.

I tried to accomplish this by creating a button in the skin editor called "switch to after", making its action "on mouse click" to "go to URL" -> "index.html#$(ut)after".
I also attempted this with "on mouse click" -> "Open next panorama" -> "URL: index.html#$(ut)after"

But it doesn't appear to build the URL with placeholders? And, I don't know if it'll transfer the positioning, either.

Any thoughts?

JPasnikowski
Posts: 54
Joined: Fri Apr 22, 2016 10:42 am

Re: Can placeholders be used for linking nodes?

Post by JPasnikowski » Tue Jul 03, 2018 10:23 pm

Oh, since this particular tour is binary, I'll be able to make use "next node" and "previous node" after placing each node next to its match, but I was hoping for a more flexible option such as what I was trying to accomplish in case I have a situation where there are 3 or more sets, like "plain", "dressed for wedding", and "dressed for birthday" kind of thing.

Post Reply

Who is online

Users browsing this forum: rostlerkk and 5 guests