So I've been trying to figure out this event for the longest time. I figured out how to make one chase me by using the script:
$gameMap._events[this._eventId].moveStraight($gameMap._events[this._eventId].findDirectionTo( $gamePlayer.x,$gamePlayer.y ));
So I can get it to chase me. The problem is getting it to actually attack me. It just walks ontop of me and stays there. I have to actively walk into it myself to activate the self-switch, whether it's on Player Touch or Event Touch. How do I go about making the event itself activate the self-switch when it's within 1 tile of me? Or atleast how do I stop making it walk on top of me.
EDIT: I've tried all priorities, triggers, as well as turning movement route "Through Off" on.
And by attack, I don't mean start a battle sequence. I want it to do a game over.
$gameMap._events[this._eventId].moveStraight($gameMap._events[this._eventId].findDirectionTo( $gamePlayer.x,$gamePlayer.y ));
So I can get it to chase me. The problem is getting it to actually attack me. It just walks ontop of me and stays there. I have to actively walk into it myself to activate the self-switch, whether it's on Player Touch or Event Touch. How do I go about making the event itself activate the self-switch when it's within 1 tile of me? Or atleast how do I stop making it walk on top of me.
EDIT: I've tried all priorities, triggers, as well as turning movement route "Through Off" on.
And by attack, I don't mean start a battle sequence. I want it to do a game over.