Autotour Freezing Hotspot Animations

  • To a certain extent I still use the old hotspots (the flashing circles) and I've recently added an autotour that pans around the room. however when it does this the animations for the hotspots stops dead in it's tracks. Below I've added my code for the autotour, how can I keep those hotspot animations going while the autotour is going?


    <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);
    </action>


    <action name="autotour">
    set(events.onidle, 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>

    <scene name="scene_blue_skies" title="Blue Skies Room" onstart="autotour();" thumburl="panos/blue_skies.tiles/thumb.jpg" lat="" lng="" heading="">
    ...scene stuff here...
    </scene>

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!