I'm trying to do something quite simple. (At least I thought it would be)
I have a Border Guard who won't let you through a gate unless you have a pass.
I want it so that if you try and make a run for the gate without a pass he becomes an enemy and attacks you.
I have tried creating an event triggered by actor touch that changes a switch. The switch should then make the Border Guard become an enemy. I was trying to do this by having the Border Guards name change from 'Border Guard' to 'Border Guard \e[6] \g[18]'.
I don't think I have the correct script code to change the name though as it doesn't seem to be working. I put in this:
$game_map.rename_event (008, 'Town Border Guard \e[6]\g[18]')