I would like to use the [BASENAME] value to increment a loadscene value. In the code sample I would like to have the XX in scene_XX replaced with a statement like scene_[BASENAME]+1 but don't know how to code it. Is it possible?
Code
<scene name="scene_[BASENAME]" title="[NAME]" onstart=""[THUMB][GPS][DEVICE]>
[VIEW]
[PREVIEW]
[IMAGE]<!-- use some events to do something: -->
<events name="scene1events" onloadcomplete="start_view_moving();"></events>
<!-- to some lookto's, then load another scene -->
<action name="start_view_moving"> oninterrupt(break);
lookto(0,0,90,smooth(10,10,10));
lookto(0,0,90,smooth(10,10,10));
lookto(0,0,90,smooth(10,10,10));
loadscene(scene_XX, null, MERGE, BLEND(1));
lookat(0,0,90); wait(BLEND) </action>
[HOTSPOTS]
</scene>
Display More
Pan, Zoom, Tilt has to be set for each move but all my panos chain together so I would like to automate any steps I can. I would like scene_01 to chain to scene_02 to save a few steps in editing.
Sample tour (partial) testing Krpano 1.18: Sun Valley Chalet