The plan

We will continue from where we left off in Chapter 2, Creating Basic AI, and continue to make changes to our two AIControllers. In the past chapter, we set up our Enemy to chase our Hero indefinitely. In this chapter, we will introduce another state to our Enemy AI, which will allow it to either run away from us or run toward us. This represents the Enemy attacking us or fleeing, depending on the shock probability when we encounter the Enemy.

Let's get started!

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.118.150.80