AngryAnt / Behave-release

The Behave project is a system for designing, integrating and running behaviour logic using Behaviour Trees for simulated characters in unity projects. NOTE: This project relates to Behave 1. For Behave 2 support and information, please use the AngryAnt community at http://community.angryant.com
http://angryant.com/behave
34 stars 6 forks source link

Sequence doesn't seem to work #70

Closed deleojur closed 10 years ago

deleojur commented 10 years ago

In the next example, the first sequence (the one underneath the FindFood Priority) runs the CanSmellFood action, but even though I hard-code return a Success, it doesn't go to the next action (IsFoodDiscovered) unless I set the return type of CanSmellFood to instant. Is this a bug or am I missing something? example_1

AngryAnt commented 10 years ago

Please use the AngryAnt community ( http://community.angryant.com ) for Behave 2 bug reports - this issues list remains online to support Behave 1 users.

Regarding this case, IsFoodDiscovered should indeed be ticked on the next tick of ScoutTree - or the same tick if you mark CanSmellFood as instant.