Help: How do I get a reference from BT Task into another BP?

Hi

In my BT Task I have set up a BOOL to “Yes”. I would like to reference that in another BP, is this possible?

Regards

Interface could do that easily, yes? Or if you are referring to your pawn you can just cast to mycharacter and set what ever you like.

I did something similar with bool like this:

This is my TASK when the player is too close(bool is set) to enemy. It sends attack through the interface

And in the enemy blueprint there is event for the attack if message is sent through.