Can anyone help me how to get the title updated in an autotour.
I am using this code.
<action name="auto">
oninterrupt(break);lookto(360,5,90,smooth(100,10,50),
false);wait(5);nextscene(),wait(8);lookto(360,5,90,smooth(100,50,7),
false);wait(3);nextscene();wait(8);lookto(360,-12,70,smooth(30,20,7),
false);wait(3);nextscene();wait(8);lookto(360,20,80,smooth(30,20,7),
</action>
<action name="nextscene">
if(%1 != findnext, set(i,0));
txtadd(scenexml,'<krpano>',get(scene[%i].content),'</krpano>');
if(scenexml == xml.content,
inc(i);
if(i == scene.count, set(i,0));
loadscene(get(scene[%i].name), null, MERGE, BLEND(1));
,
inc(i);
if(i LT scene.count, nextscene(findnext));
);
</action>
I Know that this code changes the title.
if(linkedscene, copy(tooltip,scene[get(linkedscene)].title);
But I can not get it addded to any of the actions without breaking the tour.
If I ad it to the first scene it does change pano and title but then it stops the tour.
And I cannot figure out how to get it working in the nextscene action.