Full course: https://zeusgamedevacademy.gumroad.co...
Last time we made our NPCs sleep on the floor when they're out of energy, now we'll give them beds to sleep more comfortably. If an NPC guard wants to sleep but all beds are full, they will be forced to sleep on the floor. Let's explore how to make this behavior using Behavior Designer Pro.
========================
Timestamps:
00:00 Bed model and script
05:12 Bed Manager script
08:51 Working on the behavior tree
24:33 Adding an Emoji to NPCs going to bed
25:41 Tweaks and fixes to the behavior tree