What's new
  • Visit Rebornbuddy
  • Visit Panda Profiles
  • Visit LLamamMagic
  • Visit Resources
  • Visit Downloads
  • Visit Portal
RebornBuddy Forums

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Kataera

New Member
Joined
Nov 1, 2015
Messages
2
Hi, thanks for reading!

First of all I should say that I'm relatively experienced with C# development, however this is the first time I'm trying to develop for RebornBuddy. I'm currently in the process of writing a pretty feature-rich FATE bot base, and have a few questions about best practices to follow when building the logic.


  1. I saw that mastahg posted that using a singular coroutine for the main logic is preferable to utilising behaviour trees. I'm guessing that's still the case?
  2. If it is the case, is it possible to execute Composite behaviours inside a coroutine, or can/should you only use asynchronous tasks?
  3. What are the hooks I can/should use beyond TreeRoot?

    For example, if I want to set a FATE as the current Poi, should I replace the SelectPoiType hook to include selection of the FATE, or is it better to handle that in the main logic (or somewhere else entirely)?

Thanks in advance for any response! :)
 
Both behavior trees and coroutines have their roles. With the release of the tags source code there are now many good examples of using both.

Composites can be awaited inside async functions using CommonTasks.ExecuteCoroutine(composite,context)

You can check TreeHooks.HookDescriptions for a list of hooks and their descriptions.
 
Back
Top