Fixes in Behaviour Trees
This commit is contained in:
parent
b263642e73
commit
2aba207c58
@ -405,6 +405,7 @@ Tree("10_SBB_Zugabteil_Szenenwahl") {
|
|||||||
BTC.ClearPossbileSpeechIntents()
|
BTC.ClearPossbileSpeechIntents()
|
||||||
BTC.AbortEventListener("NamedGrabEvent.INTERACTABLES.VRBrille")
|
BTC.AbortEventListener("NamedGrabEvent.INTERACTABLES.VRBrille")
|
||||||
BTC.IncrementRepetitionVisitedCounter()
|
BTC.IncrementRepetitionVisitedCounter()
|
||||||
|
RunTree("10_SBB_Zugabteil_Szenenwahl_Selection")
|
||||||
}
|
}
|
||||||
|
|
||||||
// -- Race 3: VR Brille in die Hand nehmen
|
// -- Race 3: VR Brille in die Hand nehmen
|
||||||
@ -420,6 +421,7 @@ Tree("10_SBB_Zugabteil_Szenenwahl") {
|
|||||||
|
|
||||||
// --- Bilder Bergell ---
|
// --- Bilder Bergell ---
|
||||||
//BTC.Run("LoadScene.NEXT.35Slideshow")
|
//BTC.Run("LoadScene.NEXT.35Slideshow")
|
||||||
|
RunTree("10_SBB_Zugabteil_Szenenwahl_Selection")
|
||||||
}
|
}
|
||||||
|
|
||||||
// -- Race 4: Hand Menu
|
// -- Race 4: Hand Menu
|
||||||
|
@ -293,6 +293,35 @@ Tree("32_Grotto_Story_B_Grotto_Intro") {
|
|||||||
// --- Bilder Bergell ---
|
// --- Bilder Bergell ---
|
||||||
// TODO: Bergell
|
// TODO: Bergell
|
||||||
//BTC.Run("LoadScene.NEXT.35Slideshow")
|
//BTC.Run("LoadScene.NEXT.35Slideshow")
|
||||||
|
|
||||||
|
// Fallback Button
|
||||||
|
Composite(Sequence) {
|
||||||
|
Composite(Marathon) {
|
||||||
|
BTC.Set("TextMeshPro.GO.Option1Button", "text", "L'aiuto in cucina.")
|
||||||
|
BTC.Show("GO.GO.Option1Button")
|
||||||
|
BTC.Set("TextMeshPro.GO.Option2Button", "text", "La aspetto.")
|
||||||
|
BTC.Show("GO.GO.Option2Button")
|
||||||
|
}
|
||||||
|
|
||||||
|
Composite(Race) {
|
||||||
|
Composite(Sequence) {
|
||||||
|
// Kueche
|
||||||
|
BTC.Run("NamedEventTrigger.GO.Option1Button")
|
||||||
|
BTC.AbortEventListener("NamedEventTrigger.GO.Option2Button")
|
||||||
|
BTC.Hide("GO.GO.Option1Button")
|
||||||
|
BTC.Hide("GO.GO.Option2Button")
|
||||||
|
RunTree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Kueche")
|
||||||
|
}
|
||||||
|
Composite(Sequence) {
|
||||||
|
// Garten
|
||||||
|
BTC.Run("NamedEventTrigger.GO.Option2Button")
|
||||||
|
BTC.AbortEventListener("NamedEventTrigger.GO.Option1Button")
|
||||||
|
BTC.Hide("GO.GO.Option1Button")
|
||||||
|
BTC.Hide("GO.GO.Option2Button")
|
||||||
|
RunTree("32_Grotto_Story_B_Grotto_Antwort_Nonna_Grotto")
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user