Game Development Reference
In-Depth Information
After the
timer
node, we need a node that will set the
donePatrolling
variable to
true
. We can do this using an
expression
node and using its
Expression
value to
set
donePatrolling
to
true
. We use as shown in the next screenshot: