[RMVX ACE] AVOID EVENT TO EVENT COLLISION
Posts
Pages:
1
Lets say there is this one event on a looping 'move route' and another on a random move route. I need both events to be able to collide with the player as there are events on 'event touch'. But not collide with themselves as it messes up the move route for the one in loop.
Couldn't you set both events to through, remove player / even touch from it entirely.
Instead use variables to track the X / Y of the player and the events.
I have a tutorial on how to do this.
I guess you could set the priority of one event to be either 'Above' or 'Below' the player. Although, if you do either, that event will only trigger if it is on the same tile as the player (which could be good or bad, depending on how you wanted the events to interact with the player).
Edit: You could also try this scriptlet here...
I'm not sure if it will really work, but theoretically it should allow events of even the same priority to pass through other events. This will not affect players and vehicles, but this will affect ALL events.
Edit: You could also try this scriptlet here...
# Put this somewhere above Main class Game_Event < Game_Character def collide_with_characters?(x, y) collide_with_vehicles?(x, y) end end
Pages:
1














