user input during lookto

  • Is it possible to let
    the user interrupt lookto ? I want to use it as it looks great
    and is a great way to introduce a pano. However, as the user cannot
    interrupt it, it would be too annoying for them as they are looked
    out until complete.

    Is there a way I can use this and allow
    the user to interrupt it?

    I created an extra scene just to
    load once for the intro. Initially I panned right, left, up
    then down. But as it takes too long and blocks user
    interaction, I cut it down to right then left. In the end i
    decided to not use it at all, but would love to enable it if I could.


    <action name="startscene">
    showtext(Le Grand Bar, infostyle);
    action(activatespot,scene1, 285);
    lookto(33,.83,90,smooth(75,50,150));
    lookto(240,.83,90,smooth(75,50,150));
    lookto(300.53,.83,90,smooth(75,50,150));
    </action>

  • Hi dpinparis,

    Zitat

    Is there a way I can use this and allow the user to interrupt it?

    oninterrupt(newaction)

    So, your action:

    Code
    <action name="startscene">
    		showtext(Le Grand Bar, infostyle);
    		oninterrupt(break);
    		lookto(33,.83,90,smooth(75,50,150));
    		lookto(240,.83,90,smooth(75,50,150));
    		lookto(300.53,.83,90,smooth(75,50,150));
    	</action>

    SAlut.

Jetzt mitmachen!

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