Same plugin button linking to different scene in different tours.

  • Hi,

    I have two pano buttons.

    1. Home button- goes to main pano when u are on any pano in a tour.

    2. Garden button - Which load a new tour when u click on it.

    Now when i am in any pano in a garden tour i want to load main pano of the garden tour when i click on home button.

    So how can i have same button link to different pano on two tours.

    Code
    <plugin name="bg" keep="true" align="top" x="40%" y="10%" url="hm.png" blendmode="screen" onhover="" onclick="loadscene(scene_2_Bhk_plan-min, null, MERGE, BLEND(1));" onloaded="bg_automatic_fit_inside()" />




    So how can i add garden home scene to plugin bg. So that it opens its home scene when in garden tour and it opens city home scene when we are in city tour.

  • How are your tours organized? As separate project with separate tour.xml or all in one xml?
    - Or you check what is active tour and load appropriate home tour
    - or load scene from home button by scene index 0 if it is separate xml where home is at first place

  • Hi,

    i create a plugin button bg5, when i click on it it loads a new tour. Now i want the plugin button to be removed from the new tour scene.

    i did removeplugin(bg5,true); in action startup of new tour loaded but the plugin button is still displayed.

    Here is my plugin code

    Code
    <plugin name="bg5" keep="true" align="top" x="40%" y="10%" url="hm.png" blendmode="screen" onhover="" onclick="loadscene(scene_3bhk_plan, null, MERGE, BLEND(1));" onloaded="bg5_automatic_fit_inside()" />




    so how to remove the plugin button from the new tour loaded?

Participate now!

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