bombtimer scene to scene stopped working

  • Hi, I have just noticed that my Auto next scene bombtimer on tours has stopped working. The tour was created using krpano-1.19-pr14, i have tried downloading pr16 to see if it helps but still nothing:
    Here is the tour
    The xml is here
    <!-- startup action - load the first scene -->
    <action name="startup" autorun="onstart">
    if(startscene === null OR !scene[get(startscene)], copy(startscene,scene[0].name); );
    loadscene(get(startscene), null, MERGE);
    if(startactions !== null, startactions() );
    </action>

    <action name="startup">
    if(startscene === null, copy(startscene,scene[0].name));
    loadscene(get(startscene), null, MERGE);
    </action>

    <action name="bombtimer">
    set(bt,%1);
    add(bt,1);
    delayedcall(1, bombtimer(get(bt)));
    if(bt == 42, set(bt,0); nextscene();, );
    </action>

    <action name="nextscene">
    set(ns, get(scene[get(xml.scene)].index) );
    set(maxs, get(scene.count) );
    add(ns,1);
    if(ns == maxs, set(ns,0);, );
    loadscene( get(scene[get(ns)].name ), null, MERGE, BLEND(1.5) );
    </action>

    <autorotate enabled="true" waittime="1.5" accel="1.0" speed="10.0" horizon="0.0" tofov="off"/>

    Not sure why it would have stopped, can anyone shed any light?
    Many thanks in advance.

  • Thanks Scott, i solved it this morning. Somewhere along the line when i updated to a newer version i omitted to put in onstart="bombtimer(0); startup();"> so the script was not being read :( All ok now.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!