How to call Events/Functions

RooseViper96

New member
Hello there,

I just started using the Behavior designer asset and am really having a very hard time just having to call a function in the Behavior Tree. After doing some research, I realized using Events seems like a good way to do that. I have 3 Behavior Trees on my agent and In one of the trees, am trying to get the agent to call a function after the agent has finished waiting using the Wait Task.

I have read your documentation here https://opsive.com/support/documentation/behavior-designer/events/ and it only shows screenshots of how the Has Received Event task is setup, it doesnt show how to setup the Send Event Task in the Behavior Tree. I would like to know how to setup both the Send Event task and Has Received Event task in the Behavior editor and how I can call my function.

I have attached my behavior tree as well. Your help will be very much appreciated.
 

Attachments

  • Screenshot 2023-05-05 160537.png
    Screenshot 2023-05-05 160537.png
    75.6 KB · Views: 5
Top