little planet intro only for certain scenes in tour

  • Hello everyone, I hope someone can direct me onto the right path here.

    I am having a tour with multiple 360 Panos as well as flat images and deep linking enabled for easy sharing of scenes.
    In the skin settings, I enabled the littleplanetintro option (working as intended).

    I am searching for a solution to disable the littleplanetintro on certain scenes, so when someone is entering the tour on for example a flat image the intro does not play (as that doesn't work too well for flat images).

    Preferably, I would solve this inside each scene rather than over an url parameter.

    Thanks in advance for your ideas.

  • Hi,

    there are multiple ways for doing such, here a simple one:

    Just define a 'auto-running' action within the particular scene with some code for a little-planet-intro:

    Best regards,
    Klaus

  • Thanks a lot Klaus

    This looks very promising!
    Do you by any chance also have a solution ready to make sure this action only runs once when entering the tour, rather than every time entering the scene?

    Thanks a lot

  • Once more that are multiple solutions, e.g. by using a custom variable for state-checking:

    Or here another solution - just give the <action> in each scene an individual name:

    Code
    <action name="intro1" autorun="onstart">


    An 'autorun=onstart' action will be only executed once and when it has a given name, that state is tracked automatically. Without given name, an automatic name will be used and this name will be different each time, so also the action gets executed each time.

Jetzt mitmachen!

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