How to set Blackboard entries in blueprint (not part of a behavior tree)

I want to set an enum entry in my AIController blueprint when player presses a key, but it doesn’t work.
“Get Blackboard Value as Name” always returns a null value.

I create an enum called ENUM_TaskTypes, and have an enum entry in Blackboard.

Does anyone know how to set and get Blackboard enties in normal blueprints?

https://forums.unrealengine.com/attachment.php?attachmentid=5270&d=1402923270

https://forums.unrealengine.com/attachment.php?attachmentid=5271&d=1402923281

Here’s a solution, I upload a screen shot

I was able to get this working by passing in a Name variable to Key Name in the Set Value as Enum node. I set the value of the Name variable to exactly match the name of the key in the blackboard asset. I checked the value in the blackboard asset after changing it to make sure it actually change; and it did.

So in your case, create a variable in the AIController of type Name called CurrentTaskKey and set the value of the variable to “CurrentTask” (must match exactly). Then drag that onto the blueprint as a GET and connect it to the KeY Name pin on the Set Value as Enum node.