I've made something of a life sim. It works okay.
I have the NPC's do things depending on the value of instance variables.
So, I have hunger, thirst, toilet, and entertainment. Those values start at 10, and
when they get below 4, the npc must go to the associated need.
I also have an 'Action' text variable that checks what the npc is doing.
so, when the npc gets to say, the shower, or water, the 'Action' variable' will switch to
'Showering' or 'Drinking'
I also have ones called 'Walking to x'. So, like, 'Walking to water' or, 'Walking to t.v' .
The only problem is that I'm having trouble figuring out how to have it so, once the
npc gets to the location, it stops. I've by passed this somehow. I probably set path finding 'Set to disabled' on collision or something. I can't remember and Construct didn't save the damn thing properly. Anyway, its still confusing for the npc, and myself, as when I check the 'Action' variable, it can't seem to make up its mind.
I would like to figure out how to make the npc finish the task before moving on to the next.
Also, how do I have certain things have more of a priority over other things?
So, for an example, thirst, and food, is obviously more important than entertainment.
It still worked, but it didn't seem efficient for when I want to add animations and such.