Behavior editor: ability to run behaviour as the root BT in simulator

For learning or testing, it would be helpful to launch the simulator from the behaviour editor, thereby replacing the root setting in the index.js

  1. We all learn a great deal bahaviours in from sample code or shared code. As the list of samples grows and as more people share sample BTs, it would convenient to launch the simulator from the editor. My index.js with commented roots can become a mess in the sample code

  2. I do like to test my own samples while developing the main.bt. …and I do forget to correct my index.js and it can be a mess with some commented test BTs

A warning might explain that running child behaviours might lead to unpredictable results…
thanks!
Best, Bob

4 Likes