objets collision

I havea switch on the floor and I want to push objet on it, but both are event. how to push objet on another objet?


By the way, what is the best way to trigger a event if the objet1 is on objet2?
you should check the workshop, someone has the tutorial.
events cannot trigger other events - and in this case it isn't neccessary, you need to check if the object was pushed on the position you want it to - that switch shouldn't be an event itself.
ok but in my game, i need to be able to push event over other event.For exemple, I build a bridge and after a woman can pass...
No - one of the most important things to remember is that events are NOT NPCs or objects in the map. They're only pretending to do so, and you are programming them to pretend to the player that something like a story sequence is happening.


If that woman is an event - events can only walk over other events when one of them is set to through. setting the boulder or bridge to through will not change the passability of the tile below, so the women-event has to be set to through. and if it is set to through, then it ignores the passability anyway, so you only need to give it the correct move commands.

Original thread: https://forums.rpgmakerweb.com/threads/objets-collision.62955/