BT useless without save/load?

MagicTimm

Member
Hi, sorry for the provocative title.
I like the asset and I made large trees (150+). It's all working like i want it. I develope a simulation with humans and animals. But if the player saved the game (and the BT not). After loading it could be that e.g. a human who worked in a building will go to bed (because he is tired) now, but the work was not done. Without save/load the work will be finished and after this he goes to bed.
I red other articles in the forum.
Do you have some hints for how to build up a BT to have not such problems like I described.
 
You will need to structure your tree so it can account from a load. In this case you'll need to add a new conditional branch which checks if the character is tired before doing the work.
 
Top