NPC PATROL

RPG Maker VX Ace

This is a script that returns an old, but useful, function of RPG Maker 2003.

#==============================================================================
#  ▼ Introduction
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# This is a script that returns an old, but useful, function of RPG Maker 2003.
# You can set events to keep moving to an area back and forth until they hit a
# a block. Very useful for Soldier NPCs that loves patrolling.
#
#==============================================================================
#  ▼ Instructions
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# Add the following through Event Control -> Comment on the desired event you
# want to patrol.
#
# To move horizontally: <patrol hor>
# To move vertically: <patrol ver>
#
# To install this script, open up your script editor and copy/paste this script
# to an open slot below ▼ Materials but above ▼ Main. Remember to save.
#
#==============================================================================
#  ▼ Compatibility
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
# This script is made strictly for RPG Maker VX Ace. It is highly unlikely that
# it will run with RPG Maker VX without adjusting.
#==============================================================================