I've gotten so far as to create a pano from a previous post the uses the step idea. It's brilliant.
Auto Tour with user control and resume?
The only trouble is that each pano I have in a tour has interesting things to see at different lookto coordinates. Right now I have
<krpano version="1.16" title="123 4th Street" onstart="startup();">
<action name="startup">
if(startscene === null, copy(startscene,scene[0].name));
loadscene(get(startscene), null, MERGE);
skin_hideskin(); <!-- start with control bar minimized -->
realtor_mobile();<!-- mobile realtor area minimized -->
playsound("bg", "sound.mp3|sound.wav", 0);<!-- start music loading both filetypes for browers differences -->
toggle_sound();<!-- start tour with sound off -->
set(step,1);
set(idletime,1);
set(events.onidle, autotour() );
</action>
<action name="autotour">
oninterrupt(break);
if(step == 1, lookto(150,30,120,smooth(10,50,5)); inc(step); );
if(step == 2, wait(1); inc(step); );
if(step == 3, lookto(320,0,120,smooth(10,50,5)); inc(step); );
if(step == 4, wait(1); inc(step); );
if(step == 5, lookto(380,30,120,smooth(10,50,5)); inc(step); );
if(step == 6, wait(1); set(step,1); );
</action>
So it works perfectly, for every pano shot in my tour! How can I set up the code so it has a different auto tour action for each pano? (I also noticed that there's an onstart="" for each scene and I'm pretty sure it has something to do with that.
Thank you for the help!