Hi all,
So right now i’ve got a little behaviour tree, that switches actions depending on the value of an enum (Cycling between idle, attack and patrol actions right now)
When it goes down the attack route, I want it to call the “Attack” custom event from the pawn it is possessing, and do the actions here, and continue doing them in this event until it receives an updated enum value (This is all all from the same parent so it should be able to call the custom event no matter what)
What I can’t for the life of me figure out, is how to call the event of a possessed pawn from inside of the behaviour tree. Is their an easy way to do this that already exists, or do I need to build a custom task, that casts to the parent and runs the event?
It’s entirely likely i’m going about this the wrong way, so if I am please also let me know
Thanks