hi i want to make a customer who is always running and buying randomly in my restaurant game there are still problems that I experience about how to make that customer sit and then stand back ?????
Look up Boolean and/or enum and try using them to switch behaviours
Your question is not clear enough!
I would suggest you to google "State Machine", implement that and use it to play certain anims on specific actions, randomly or not