Help with using Has Received Event

AraragiAriel

New member
Hi! I'm trying to use events on the behavior tree to sync its actions with the animator. The problem is that I keep getting this error in the picture, and I have no idea what is causing it nor how to solve.
Untitled1.png

This is my tree:
Untitled.png

I want to use the event without any parameters, so I'm just using the event name without any args, although I've tried using 1-3 args to see if it would solve the problem.
Untitled2.png

This is how I call the event, the SendEventString function is called by the animator, but that doesn't seem to be the source of the error since I start getting the error on every frame even before calling the event itself. The error starts as soon as the first Has Received Event starts getting checked, after the Enemy In Range conditional returns true, which then the tree proceeds to be stuck in Has Received Event.
Untitled3.png
 
What is the value of applyAttackEvent? Based on the error that you are receiving my guess is that the value is an empty string.
 
Top