What I want: To make an enemy that will patrol the map on their set route until the player gets within a few tiles, at which point they switch to approaching.
What I have: Variables that match the current location of the event, and a variable for the detection radius.
A branch that will flip a self switch to start the new page where the chase begins.
What I need: A way to put these two things together. The instructions I've been trying to follow are for RPGMaker 2003, so I'm not sure they'd work even if I knew what I was doing.
These are the instructions: https://rpgmaker.net/tutorials/16/
I am fully ready to abandon what I've attempted so far if someone has a better way of doing this, all my script attempts led to various syntax errors, there's not really anything there I'd miss.
What I have: Variables that match the current location of the event, and a variable for the detection radius.
A branch that will flip a self switch to start the new page where the chase begins.
What I need: A way to put these two things together. The instructions I've been trying to follow are for RPGMaker 2003, so I'm not sure they'd work even if I knew what I was doing.
These are the instructions: https://rpgmaker.net/tutorials/16/
I am fully ready to abandon what I've attempted so far if someone has a better way of doing this, all my script attempts led to various syntax errors, there's not really anything there I'd miss.