August 2019
Intermediate to advanced
380 pages
9h 17m
English
The first step to introducing any additional functionality to the AI is figuring out where that logic will fit within the Behavior Tree. Go to Content Browser, open the Enemy folder, and open EnemyBehavior. We are contemplating adding a sequence of Events that occur when the enemy hears a sound. We want the enemy to continue attacking the player once they see them, so investigating a sound should constitute a lower priority on the Behavior Tree. Move the Attack Player sequence and all of its task nodes further to the left in the Behavior Tree, leaving room between Attack Player and Move to Patrol. This is where we will add our hearing sequence. Drag a wire down from the Selector node and attach it to a ...
Read now
Unlock full access