What do I connect to "object" here in this cast-to?

BT Task fires custom event in AI Character BP, then AI Character BP triggers another Custom event back to BT Task

A cast only asks what type an object is.

Imagine it like this: You have a phone and want to call your friend who lives with his family in a house. You dial the number of that house and then ask who picked up the phone.

In this code the number that has to be dialed is the “Object” pin. The question of who picked up the phone is the case (so you ask if BTT_MechAttacks picked up the phone).

Basically you need a reference to your Behavior Tree. Nothing else can fit in there. If you try to cast your character to that behavior tree it would always be “No” because your character can’t possibly become a behavior tree.

You can’t get whatever you’re thinking of right now by casting nothing to what you need. How would the game know which instance of that class should be taken?

Okay thanks. I tried getting a reference to my behavior tree though but not sure how. What node(s) are involved with creating a reference back to the behavior tree?

I have no clue where you are in your script, which functions you need etc.

But you will need to store it / provide it somehow.