1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<action name="setuptour_1">
set(step,1);
set(idletime,2); <!-- The time in seconds without any user interaction before calling the idle event. -->
set(events.onidle,action(autotour_1) );
</action>
<action name="autotour_1">
oninterrupt(break);
if(step == 1, lookto(190,0,90,smooth(50,-50,100)); inc(step); );
if(step == 2, wait(0); inc(step); );
if(step == 3, looktohotspot(info_Bruecke,50,smooth(150,25,100));action(showtextfield, textfield_Bruecke); action(showhintergrund); inc(step); );
if(step == 4, wait(5); inc(step); );
if(step == 5, action(hidetextfield, textfield_Bruecke); action(hidehintergrund); inc(step); );
if(step == 6, wait(1); inc(step); );
if(step == 7, lookto(-30,0,90,smooth(3,-3,10)); inc(step); );
if(step == 8, wait(1); inc(step); );
if(step == 9, loadscene(nach_Bruecke,null,MERGE,BLEND(1)); );
if(step == 10, tourdone(); set(step,1); );
</action>
|