Hi,
I am having a problem with my autotour not loading the 3rd scene. Tour starts ok, goes through the 360 view and 2nd scene loads, this then goes through the 360 view and then gets stuck in a loop. 3rd scene doesn't load. Below is the code I am using, can anyone spot where the issue is?
Thanks
Mike
<action name="startup">
buildthumbs();
loadscene(scene_SHQ1, null, MERGE, ZOOMBLEND(1,2) ); inc(step);); wait(load);
set(idletime,4);
set(events.onidle, autotour() );
</action>
<action name="autotour">
set(step,1);
oninterrupt(break);
if(step == 1, lookto(360, get(view.vlookat),get(view.fov), smooth(2,2,15), false); inc(step););
if(step == 2, loadscene(scene_SHQ2, null, MERGE, ZOOMBLEND(1,2) ); inc(step);); wait(load)
if(step == 3, lookto(360, get(view.vlookat),get(view.fov), smooth(2,2,15), false); inc(step););
if(step == 4, loadscene(scene_SHQ3, null, MERGE, ZOOMBLEND(1,2) ); inc(step);); wait(load)
if(step == 5, lookto(360, get(view.vlookat),get(view.fov), smooth(2,2,15), false); inc(step););
if(step == 6, set(step,1); autotour(););
</action>