Tuur, my friend, if(var1 == yes ..... seems to be working
I do not why I insisted having get(var1) :-(
Thanks a lot
I knew it was my stupidity....
...but still ....some bug.... I want to play title picture just once but the variable stays the same for two steps.
It means if first pano starts, the var1 is true and picture is shown and the var1 should be no. but if I jump to second pano and back to first, the picture is shown again. If I repead the step - jump to second pano and then to the first, picture is not shown. Seems I have to excecute the action twice to change the variable.
Oh fuc....
<action name="startup2" autorun="onstart">
set(var1,yes);
playsound(bip,beep.mp3);
</action>
<action name="showtitleonce" >
if(var1 == yes,showgallery(fotoPANO1,0);set(var1, no);,playsound(bip2,beep2.mp3););
</action>
and the first scene calls - onstart="showtitleonce();"
HERE IS THE TOUR:
http://www.virtualczech.cz/testwithtitleonce/