Game Development Reference
In-Depth Information
However, the ability to customize AI nodes is important, so instead of using an
ex-
pression
node again, we will use a
Custom Action
node. To create a
Custom Ac-
tion
node,right-clickonthelower
Constraint
nodeandnavigateto
Create
|
Actions
|
Custom Action
. Change the name of the node (via the name field in the node ed-
itor) to
StopPatrolling
. For the
Class
value, choose
Create Custom Action
. The
following screenshot will guide you through: