I want to play something only once on start of ther whole tour and thatz is why I must use variable.
In startup action I set the var1 to yes.
Second action has a condition that if var1 is yes, play the sound. If not, play another one. Just for my understanding.
But it seems my var1 is yes only when my tour starts
I call action yesorno on each scene and still have only beep2
Sorry again for that question but I can nor figure it:
<action name="startup2" autorun="onstart">
set(var1,yes);
playsound(bip,beep.mp3);
</action>
<action name="yesorno" >
if(get(var1) == yes,playsound(bip,beep.mp3);,playsound(bip2,beep2.mp3););
</action>