Timer on specific pano

  • Hi,

    the problem is the following:

    I have a tour with two panos and I need a 30 sec. timer on the first pano which triggers the second but on the second the timer should be off.


    I know that there is the delaycall but I have no idea how to use it.

    My programming skills are not the best so please give me all the details.

    Thanks in advance.

    Georg

  • in yur first scene definition (in tour.xml) add this to onstart attribute onstart="delayedcall(delayed_load_2nd_scene,30, loadscene(your_second_scene, null, MERGE);" This will load 2nd scene in 30 sec. In case user go to next scene manually than I think this call will be still triggered so you might want to add onstart="removedelayedcall(delayed_load_2nd_scene)" in your second scene on start to stop previous scene timer. If you have more than 2 scenes, maybe use event onremove scene to define such a removedelayecall. Something like that.

Jetzt mitmachen!

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