
614 Game Development and Simulation with Unreal Technology
These two tasks were then, in turn, programmed in the sequence of behaviors
in the behavior tree. This will make our AI characte rs b e able to perceive the
location of the playe r and to actively attempt to seek the player.
The game is really coming along well. If you play the game now, your AI enemy
characters should spawn and chase the player. Each enemy should take dam age and
get destroyed when the player projectiles hit it. The player projectiles sho uld also
destruct when they hit an enemy or a wall. And the pla yer should die if it is hit
multiple times by an enemy.
9.9 PARTICLE SYSTEMS ...