Hi there.
My virtual tour is currently set up to load the first scene in the array. However as I'm in the process of documenting my scenes, I want it to load the last scene in the array (the latest one added), so I can work on the hotspot of the scene immediately without having to navigate all the way through my tour.
The current code is:
Code
<action name="startup">
<!-- load the first scene -->
loadscene(get(scene[0].name), null, MERGE);
</action>
I've tried replacing the line with:
But to no avail.
Does anyone have the correct code? I'm probably missing something easy. Thanks in advance.
Edit: also, does anyone have any tips on adding a "previous scene" button? I wouldn't know how to reference the last scene I was on :\.