Victor's Pixel Movement and Map Coordinates

I'm using Victor's Pixel Movement Script, mainly because it's the basis for some of his other scripts. However it causes issues with some of my events. For example, when I have a pressure activated switch, I need to line up perfectly on top of it in order to activate it. Is there a way to make the detection less strict? Here is the conditional branch I use:

$game_player.x == $game_map.events[@event_id].x and $game_player.y == $game_map.events[@event_id].yAs a parallel process. I can't just make the trigger player touch because I also have other conditional branches depending on other events touching the switch (like a block being pushed over it). They all work fine, it's just the player touch that is the problem. Thanks!
Please always link to the script you're having problems with - we can't go searching the internet for every obscure script.


Did you place the correct notetags/comments on your events? If I remember correctly, Victor adresses the collision and trigger problem by giving different event options through tags. Usually all configuration instructions are at the beginning of the scripts.
$game_player.x.round == $game_map.events[@event_id].x and $game_player.y.round == $game_map.events[@event_id].yTry to round the players values.
Same problem (more or less), same fix. I wish I had the know-how to work out how to implement that command myself. As before, it solved my problem. Danke 😀

Original thread: https://forums.rpgmakerweb.com/threads/victors-pixel-movement-and-map-coordinates.31536/