Hey everyone,
I wonder where should I put actually some stat variables for the player like health, hunger, stamina, radiation etc? A pawn? A PlayerController? And then if I do say hunger variable, I want to make a "food" item which on Use to replenish the hunger. For example somwhere I have variable hunger = 300, then when the item is Used, add 50 to hunger. Should I extend from Actor->Item->Food?
I wonder where should I put actually some stat variables for the player like health, hunger, stamina, radiation etc? A pawn? A PlayerController? And then if I do say hunger variable, I want to make a "food" item which on Use to replenish the hunger. For example somwhere I have variable hunger = 300, then when the item is Used, add 50 to hunger. Should I extend from Actor->Item->Food?
Comment