UP-Viagg-io/Viagg-io/Assets/BehaviourTrees/Test.bt.txt

45 lines
1.0 KiB
Plaintext
Raw Normal View History

2024-03-11 11:13:38 +01:00
Tree("Root") {
Composite(Sequence) {
Composite (Marathon) {
RunTree("Fading_Bush")
2024-05-15 13:18:09 +02:00
// RunTree("Play_Depthkit")
2024-03-11 11:13:38 +01:00
}
Composite(Race) {
Composite(Sequence) {
// Blue Cube
BTC.GetKeyDown("Tab")
BTC.Run("LoadScene.Next.20SBB")
2024-03-11 11:13:38 +01:00
BTC.Show("GO.STATIC.-152100")
}
Composite(Sequence) {
// Yellow Cube
BTC.GetKeyDown("Return")
BTC.Show("GO.STATIC")
}
}
BTC.Wait(5)
RunTree("Reset")
}
}
2024-04-10 09:44:23 +02:00
Tree("Fading_Bush") {
2024-03-11 11:13:38 +01:00
Composite (Sequence) {
2024-04-10 09:44:23 +02:00
BTC.FadeIn("Renderer.STATIC.bushBaked")
2024-03-11 11:13:38 +01:00
}
}
2024-04-10 09:44:23 +02:00
Tree("Play_Depthkit") {
Composite(Sequence) {
BTC.Show("Depthkit.STATIC.D21A")
BTC.Run("Depthkit.STATIC.D21A")
2024-03-11 11:13:38 +01:00
}
}
Tree("Reset") {
Composite(Marathon) {
BTC.Hide("GO.STATIC.-152100")
BTC.Hide("GO.STATIC")
BTC.FadeOut("Renderer.STATIC.bushBaked")
2024-04-10 09:44:23 +02:00
BTC.Hide("Depthkit.STATIC.D21A")
2024-03-11 11:13:38 +01:00
}
}