External Behavior Trees and GetPropertyValue

nRedux

Member
GetPropertyValue doesn't work as expected in external behavior trees. The Component Name/Property Name fields are not populated and no values can be selected. I don't know how the values are populated in the first place, as GetPropertyValue does nothing to locate them/populate those fields so I assume there are some special case handlers under the hood.

Please advise.
 
The reflection tasks rely on a GameObject and because external trees on on a scriptable object they won't work. One way to get around this is to create a subclass of the reflection tasks so it displays the raw string values that it uses but I haven't figured out a better way to handle this case.
 
I hadn't considered that while the external tree was assigned to a Behavior Tree component it wouldn't have access to the assigned the the assigned value of any of it's variables or the normal game object reference for the Behavior Tree it was assigned to.
 
Top