Yo me again!
Looking for away to have an effect if an event e.g. enemy touches the player (outside of battle) such as game over or dmg. I thought it'd be made with a conditional branch with an effect if they both player and event occupy the same space, but not sure how to achieve it.
Thanks
Jacob
no need for conditional branches - that's what the triggers are for.
If you set the trigger to event touch, you'll need a moving event because that will only trigger if the event moves on the player.
If you set the trigger to player touch, that will only trigger if the player moves.
So for your enemy events, you usually set the trigger to event touch and the autonomous movement to either approach or a repeating move route, and then in the content of the event you place the command what should happen if the autonomous movement moves the event on the player - for example game over or change actor HP.
If you're new to RM and eventing, I suggest you follow the link to the starting point in my signature and work through the tutorials listed there
One thing I do for a situation like this is have variables check the player x and y and the event x and y, and have a conditional branch that activates if those two are ever the same. I just set the event to parallel process, as it will not actually trigger until the conditions are met. If this is confusing I can show you a screen shot.
Yo a screen shot would be appreciated, as knowing different ways to do it is never a bad thing!
Actually a much simpler method would be to put this in the script section of your conditional branch
$game_player.x == $game_map.events[2].x &&
$game_player.y == $game_map.events[2].y
Simply change the [2] into whatever number matches the event you are checking. This way you don't even need to use any variables.