Remove photo part in castello
This commit is contained in:
parent
fe6b63304c
commit
ca61a03d71
@ -79,89 +79,6 @@ Tree("26_Castello_Castelli_di_Bellinzona_Intro") {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
BTC.Show("Depthkit.VIDEOS.Intro5CastellidiBe")
|
|
||||||
BTC.Run("Depthkit.VIDEOS.Intro5CastellidiBe")
|
|
||||||
BTC.Hide("Depthkit.VIDEOS.Intro5CastellidiBe")
|
|
||||||
|
|
||||||
BTC.AddPossbileSpeechIntent("Castelli_di_Bellinzona.Intro.6")
|
|
||||||
BTC.AddPossbileSpeechIntent("Castelli_di_Bellinzona.Intro.7")
|
|
||||||
BTC.StartSpeechIntentRecognition()
|
|
||||||
|
|
||||||
Composite(Race) {
|
|
||||||
// -- Race 1: User sagt etwas
|
|
||||||
Composite(Sequence) {
|
|
||||||
BTC.UserStartedSpeechInput()
|
|
||||||
|
|
||||||
Composite(Selector) {
|
|
||||||
// -- Selector 1: Intent erkannt
|
|
||||||
Composite(Sequence) {
|
|
||||||
BTC.SpeechIntentRecognized()
|
|
||||||
|
|
||||||
Composite(Race) {
|
|
||||||
Composite(Sequence) {
|
|
||||||
BTC.CompareIntentID("Castelli_di_Bellinzona.Intro.6")
|
|
||||||
BTC.ClearPossbileSpeechIntents()
|
|
||||||
// Warten bis User Foto macht
|
|
||||||
BTC.Run("NamedEventTrigger.GO.CameraButton")
|
|
||||||
}
|
|
||||||
Composite(Sequence) {
|
|
||||||
BTC.CompareIntentID("Castelli_di_Bellinzona.Intro.7")
|
|
||||||
BTC.ClearPossbileSpeechIntents()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// -- Selector 2: Intent nicht erkannt
|
|
||||||
Composite(Sequence) {
|
|
||||||
BTC.ClearPossbileSpeechIntents()
|
|
||||||
|
|
||||||
// Fallback Button
|
|
||||||
Composite(Marathon) {
|
|
||||||
BTC.Show("GO.GO.SpeechButton")
|
|
||||||
BTC.Set("TextMeshPro.GO.Option1Button", "text", "Sì.")
|
|
||||||
BTC.Show("GO.GO.Option1Button")
|
|
||||||
BTC.Set("TextMeshPro.GO.Option2Button", "text", "No.")
|
|
||||||
BTC.Show("GO.GO.Option2Button")
|
|
||||||
}
|
|
||||||
|
|
||||||
Composite(Race) {
|
|
||||||
Composite(Sequence) {
|
|
||||||
// Ja
|
|
||||||
BTC.Run("NamedEventTrigger.GO.Option1Button")
|
|
||||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option2Button")
|
|
||||||
BTC.Hide("GO.GO.Option1Button")
|
|
||||||
BTC.Hide("GO.GO.Option2Button")
|
|
||||||
BTC.Hide("GO.GO.SpeechButton")
|
|
||||||
BTC.Show("GO.GO.Home")
|
|
||||||
BTC.Hide("GO.GO.SpeechOptions")
|
|
||||||
// Warten bis User Foto macht
|
|
||||||
BTC.Run("NamedEventTrigger.GO.CameraButton")
|
|
||||||
}
|
|
||||||
Composite(Sequence) {
|
|
||||||
// Nein
|
|
||||||
BTC.Run("NamedEventTrigger.GO.Option2Button")
|
|
||||||
BTC.AbortEventListener("NamedEventTrigger.GO.Option1Button")
|
|
||||||
BTC.Hide("GO.GO.Option1Button")
|
|
||||||
BTC.Hide("GO.GO.Option2Button")
|
|
||||||
BTC.Hide("GO.GO.SpeechButton")
|
|
||||||
BTC.Show("GO.GO.Home")
|
|
||||||
BTC.Hide("GO.GO.SpeechOptions")
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
// -- Race 2: User sagt nichts
|
|
||||||
Composite(Sequence) {
|
|
||||||
BTC.Wait(10)
|
|
||||||
BTC.CompareUserSpeechInputStarted(false)
|
|
||||||
BTC.AbortSpeechEventListener()
|
|
||||||
BTC.StopSpeechIntentRecognition()
|
|
||||||
BTC.ClearPossbileSpeechIntents()
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
BTC.Show("Depthkit.VIDEOS.Intro10CastellidiB")
|
BTC.Show("Depthkit.VIDEOS.Intro10CastellidiB")
|
||||||
BTC.Run("Depthkit.VIDEOS.Intro10CastellidiB")
|
BTC.Run("Depthkit.VIDEOS.Intro10CastellidiB")
|
||||||
BTC.Hide("Depthkit.VIDEOS.Intro10CastellidiB")
|
BTC.Hide("Depthkit.VIDEOS.Intro10CastellidiB")
|
||||||
|
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user