So I created my own class (called emotions) from an empty C++ constructor that has an FString and float value along with basic set/get functions. I then made a new UObject class where I have a TMap variable containing FStrings as keys and emotions as values. How do I attach this UObject to an actor/pawn?
I ultimately want to have these emotion’s values changing throughout the game based on player input and helping decide what event my character/AI does. I’m still new to Unreal so any suggestions are welcome as well. Thanks in advance!