Hi all.
Please can anyone help me. Ive recently started updating my 3 year old krpano's with the spanking new 1.19 version. and have realised the the old bombtimer code doesn't work. Currently i have changed the script slightly and now the bombtimer only work for the first scene.
see link:
https://s3-eu-west-1.amazonaws.com/presentation.u…/gem2/tour.html
Please can anyone tell me how to correct this issue?
many thanks guys
<!-- startup action - load the first scene -->
<action name="startup" autorun="onstart">
if(startscene === null OR !scene[get(startscene)], copy(startscene,scene[0].name); );
loadscene(get(startscene), null, MERGE);
if(startactions !== null, startactions() );
<!-- start timer -->
bombtimer(0);
</action>
----------------------------------------------------------
<events onmousedown=" set(bt,0); " />
<action name="bombtimer">
set(bt,%1);
add(bt,1);
delayedcall(1, bombtimer(get(bt)));
if(bt == 7, startmanualcontrol(); stopall(); set(bt,0); nextscene();, );
</action>
<action name="nextscene">
set(ns, get(scene[get(xml.scene)].index) );
set(maxs, get(scene.count) );
add(ns,1);
if(ns == maxs, set(ns,0);, );
loadscene( get(scene[get(ns)].name ), null, MERGE, BLEND(2) );
</action>
------------------------------------------------------