When setting up any blackboard key you need to use of the function “make literal name”, however this makes it very difficult to debug where any key value is actually set?
I my case I am setting up an ActionStatus Enum value, but I am not really able to where the value is getting changed - both because it is set in blue prints and via BT tasks.
To make this a bit more easy I have set up new events for each ENUM value - its a trivial hassle to do, but it will make your debug a bit more easy tree steps to do this:
1. At the AI Controller set the action status via a byte value, check that it is OK. I added a debug bool, just in case I need to do more - the value is also sent to the pawn (NPC_MH).
2. **At the AI Controller **make specif events to set each of the values:
- BT tasks when invoking these events you can now set your debug at the task level - for the ENUM state that you want the inspect:
Suggestion for UE4
It would be rather simple to add set key value functions to the the blackboard! That is you could cast to the blackboard, in my case ‘cast to BT_BB_NPC’ and from this you can expose the valid range of keys - and especially the valid ENUM variations. This list of functions could be generated when you save and compile the blackboard.