I've been trying to figure out how to get this work, sadly Im no good at scripting yet, so I've been struggling understanding previous answers that could be applicable. I have a moving event that I want to be able to be caught by another event touching it, but I'm not sure how to set that up. I'm assuming it would need to be a script, but I'd be happy to be proven wrong! Any ideas?
EDIT: I'm dumb, seem to find my own solutions minutes after asking for help lately. Used a version of something someone else did in the forums, in case anyone is curious.
Math.abs($gameMap.event(14).x - $gameMap.event(16).x) + Math.abs($gameMap.event(14).y - $gameMap.event(16).y) === 1
If anyone could tell me how to edit that so one of the events is the player instead I'd appreciate it! I could use Event Touch but the way the event is set up currently that would take some edits.
EDIT: I'm dumb, seem to find my own solutions minutes after asking for help lately. Used a version of something someone else did in the forums, in case anyone is curious.
Math.abs($gameMap.event(14).x - $gameMap.event(16).x) + Math.abs($gameMap.event(14).y - $gameMap.event(16).y) === 1
If anyone could tell me how to edit that so one of the events is the player instead I'd appreciate it! I could use Event Touch but the way the event is set up currently that would take some edits.