Download

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

Hi All

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
Narg

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.
65857afc683895cb88b69c7ded8195d1b377e413.png