I have a blackboard and associated behaviour tree.
I have a ‘pig’ which I want to make walk around between various points. It has a AI controller attached to its pawn blueprint, and I’ve used the ‘on possess’ event in order to run the behaviour tree.
The problem is that I am unable to set a blackboard key which is a vector named ‘PatrolLocation’ within the AI controller itself.
This code runs, so I know that the pig is possessed by the controller, but the PatrolLocation variable is not being set to 0,0,0.
Please see my pictures below, where the value of PatrolLocation given by the print statement is not 0,0,0, as I would like it to be.
