I wrote some code based on
image360's code. It works, but it behaves against my intention.
Followings are parts of the codes. I used the "MAKE VTOUR(NORMAL).bat" droplet and insert them.
<action name="autotour">
set(idletime,8);
skin_hideskin();
set(layer[sidebar].visible, false);
oninterrupt(breakall(); skin_showskin(); set(layer[sidebar].visible, true); );
if(step == 1,
lookat(0,0,120);
lookto(180,0,120, linear(15));
lookto(180,90, 120, linear(15));
lookto(180,90, 60, linear(15));
inc(step);
);
if(step == 2,
loadscene(scene_001,null,KEEPBASE|NOPREVIEW,BLEND(2));
lookat(0,0,120);
wait(blend);
lookto(90,0,120,linear(15));
lookto(90,0, 60,linear(15));
inc(step);
);
if(step == 3,
loadscene(scene_000,null,KEEPBASE|NOPREVIEW,BLEND(2));
set(step, 1);
);
</action></action>
I think my click will break any motion right away and I can gain the control.
However, it is only true for last lookto action.
I mean when I click during the first or second lookto action, it will continue (no interupt at all) to the last position 180,90, 60.
Is there any way to correct it??
Thanks in advance.
Min