How to use Behavior Tree Enum cpp

Thanks Phoebus89
You gave the correct steps to create an enum in CPP.
Turns out the UBlackboardKeyType_Enum unreal4 proposed me is… useless for this case.
A ‘simple’ enum is enough.

However these arent enough to use the enum as a Blackboard variable type.
It appears we have to manually input the enum’s name in the field ‘Enum Name’ and then unreal will autofill ‘Enum Type’
For example see answerof Mewbits in

Eh, more weird cpp exceptions ‘blackmagic’ :roll_eyes:

1 Like