so im making a game where the characters are npc's that wander randomly. i can make them wander im just wondering if there is a way to prioritize certain events. example below.
i am using a player state engine to do this
if "characters" thirst is below 40%
set player state to "getwater"
if "characters" hunger is below 40%
set player state to "getfood"
how can i, if both variables are true. prioritize the "GetWater" over the "GetFood". right now when both variables are true. the character just stops.
thank you in advanced