Behavior Designer - search for X branch

serkai

New member
Hello there!

I'm using UCC, Behaviour Designer, and Deathmatch AI kit. Similar to the Search For Health branch, I want to create a sequence where the bot AI will search for X, ideally with a finite number of X. Let's say X is a trigger capsule collider, like the air lift in the Deathmatch AI kit.

As an example: Bot will search for X. If bot can see X, seek X, enter trigger and TryStartStopAbility. Continue full behaviour tree until another X is spotted. Max number of X = 4, the bot stops searching for X.

What's a simple way to achieve this? Will it require a lot of scripting?

Thanks!
 
You could create a new task called Can Search for X and then a Search for X task, similar to the health tasks. This will require scripting but you can model it off of the existing tasks.
 
Top