<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<font size="4">Hallo,<br>
<br>
jetzt laufen die ersten Tests zuverlässig. Ich habe aber ein
Problem. Bei jedem OID-Skript wird nur der ERSTE Befehl
ausgeführt.<br>
Mein Skript:<br>
<font face="monospace">scripts:<br>
sky:<br>
# Beide spielen. Es fehlt das zweite '-'!<br>
- P(play_Its_the_sky)<br>
P(play_another_sound)<br>
<br>
sailboat:<br>
# Nur der erste spielt!<br>
- P(play_sail_boat) <br>
- P(play_another_sound)<br>
<br>
grammy:<br>
- $ifexp := 1 # Funktioniert!!<br>
- $ifexp == 1 ? P(play_Grandmother) # Spielt NICHT<br>
<br>
cat:<br>
- $ifexp == 1 ? P(play_cat) # Funktioniert wie erwartet!<br>
<br>
# --- Product ---<br>
product-id: 950<br>
comment: "my project"<br>
media-path: "950-audio/%s"<br>
welcome: welcome<br>
init: $ifexp := 0<br>
speak:<br>
play_Its_the_sky: 'Its the sky'<br>
play_another_sound: 'another sound'<br>
play_sail_boat: 'sail boat'<br>
play_cat: 'cat with condition'<br>
scriptcodes:<br>
sky: 12001<br>
grammy: 12002<br>
sailboat: 12003<br>
cat: 4941</font><br>
<br>
<br>
Noch eine Frage... Kann man zwischen USB-Stick und Spielbetrieb
wechseln, ohne den USB-Stecker immer an- und abzustecken?<br>
<br>
Danke,<br>
-Gernot<br>
<br>
<br>
</font>
</body>
</html>