To use just add the component to your skin.
If not required you can delete the Forget Cookie text box, its only there to show how to clear the cookie.
Once added when you close the tour and reopen it, depending on which component you are using it will open with the last node or last node and view.
The first component RememberNode.ggskc just remembers the node.
How it works:
There is a variable in the skin called "lastnode".
The current node is written to the variable with a Node Changed action.
As you can see the cookie will expire after 100 days.
Code: Select all
So the cookie remembers the variable and when opened the action Config Loaded, Open Next Panorama then uses it to open the correct node.
The "forget button" removes the cookie by setting the days to 0.
The component RememberNodeView.ggskc uses a timer.
This is similar to the above but also has a timer that is recording the pan, tilt and FoV every second and writing to the variable, "lastview".