I can not use the menus of my tour when it activated the auto tour

  • Hello friends , I have a very urgent problem , when I click the button that activates my function auto tour it blocks other actions of my tour as the menu , for example if I click auto tour and then try to open other buttons as maps the tour does not work , I need to pause the auto tour dai works.

    My code:


    <action name="autotour">

    close();

    oninterrupt(break);

    loadscene(get(scene[scene_lv].name), null, MERGE,BLEND(1));
    moveto(120,20,linear(5));
    moveto(210,20,linear(5));
    moveto(300,20,linear(5));
    moveto(390,20,linear(5));
    wait(1);

    loadscene(get(scene[scene_cz].name), null, MERGE,BLEND(1));
    moveto(-20,20,linear(5));
    moveto(110,20,linear(5));
    moveto(200,20,linear(5));
    moveto(290,20,linear(5));
    wait(1);

    loadscene(get(scene[scene_dt].name), null, MERGE,BLEND(1));
    moveto(145,20,linear(5));
    moveto(235,20,linear(5));
    moveto(325,20,linear(5));
    moveto(415,20,linear(5));
    wait(1);

    loadscene(get(scene[scene_bn].name), null, MERGE,BLEND(1));
    moveto(20,40,linear(5));
    moveto(110,40,linear(5));
    moveto(200,40,linear(5));
    moveto(290,40,linear(5));
    wait(1);

    loadscene(get(scene[scene_lv].name), null, MERGE,BLEND(1));

    break();

    </action>

  • Or you are in Autotour mode or in regular user navigate him self through the tour. Not both can be activated at the same time:
    https://krpano.com/docu/actions/#moveto

    "the user interface and all other actions are blocked during the movement. That means the next action will be executed when the current action was done. The oninterrupt action can be used to make these actions interrupt able by the user. "

    Valid for moveto and lookto from your code....

  • So I must be me expressing wrong need o'que is exactly WHAT is it, a self tour of the rotation with the exchange environments as the time of, to use the menu options without stopping.

    can you help me? would be a great help

  • I did most like to know how can I do to change it scena without having to click anything? When you give for example five seconds he changes by next room .

Participate now!

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