I posted this on the other UE4 forum and wanted to see if there were any alternative solutions that people have used.
I’m creating a small single player RPG that is more exploration than combat. There are many items and NPC characters in the game that the player meets and interacts with. Many of these interactions give options based on the player’s current stats.
So on interaction a dialog pops up offering different options (I’ve got this part to work). Then, as an example, if the player selects option A, but his health is below a minimum level, it will warn them they can’t do A. If they choose option B, 30% is added to their current mana score and a player animation is triggered.
So I need the interactions to have access to the player stats. They are currently created on the thirdpersonplayer but I’m wondering if it would be better to store them elsewhere (or a continuously updating copy of them that objects/actors can access)? How do other people get around this?