I’m struggling at the moment. I understand most of the concepts of UE4 and have seen more tutorial videos on the subject than Scottish people voted SNP, but I have a stumbling block.
I am trying to create an NPC that has attributes that change over time, for instance, they get hungry or thirsty. I know how to create the character, I know how to get them to react to being hungry, I just can’t seem to make them get hungry! I have a variable called Hunger that I have set a max value of 30, and the default for the game starts as 0, so I want it to climb steadily as the level plays out and once they reach a hunger of 20 they move a little slower, and if they reach 25 they go half speed and if they reach 30 they stop moving and complain bitterly about food (like any one of my 4 children about 10 minutes after dinner time).
If anyone can point me in the right direction that will be great.