(REQUEST) CHECK IF EVENT TOUCH OTHER EVENT

Posts

Pages: 1
Hello !
How can I check if an event touches other event and get ID of the other event just like player touches an event.
eg; event A touches event B so event A checkes it and desplays a message.
Marrend
Guardian of the Description Thread
21806
Oh, crap, what was the function I used for the Wand of Blasting?

Wait, before I delve too deep into this, what engine are you using?
It would be helpful if you said what exactly you want to do and if you want to use event commands or the RGSS.

Unfortunately I don't have the RMXP, so I can't give you specifics.

But in theory you just have to compare the map coordinates of the two events and if they are equal, the events are touching. You'll have to loop through all events that can collide with event A.
Pages: 1