Hi all / Hopki!
I have just been implementing direct node access -- which is great! -- but have a followup question to the above.
When I test on localhost, the full solution presented above (to use custom node ids, be able to access them directly, and update the url in the address bar) works fine -- both while navigating the tour from the first node, AND when going directly into a node.
Great!
HOWEVER... if I push to my live server, trying to go directly to a custom node id FAILS -- the tour defaults to showing the first node. Navigating through the tour, the URL in the address bar changes to reflect the current node, but if any specific node id URL is copied and pasted, the tour returns to the primary node.
Unexpected?!
If I REMOVE the action using '
player.userdata.customnodeid', then manually entering a custom node id DOES go to that specific node, BUT THEN navigating the tour DOES NOT update the URL in the address bar.
Which is somewhat confusing!
I don't understand this difference in behaviour between localhost and a live server.
Is there a solution which allows direct access to a specific node AND keeping the URL custom node ID updated as the person navigates from the custom node where they entered on a live server (not just localhost)?
Thanks!
David.