Book Image

CryEngine Game Development Blueprints

Book Image

CryEngine Game Development Blueprints

Overview of this book

Table of Contents (22 chapters)
CRYENGINE Game Development Blueprints
Credits
About the Authors
About the Reviewers
www.PacktPub.com
Preface
Index

Chapter 4. Creating an Enemy AI

Pretty much every game has bad guys and it is no different in GAS. In this chapter, we will create our very own enemy artificial intelligence (AI) that can shoot at the player. Here is what you will learn:

  • How to register a new AI class

  • How to make the AI detect the player and not move

  • How to make the AI shoot the player