Help - Search - Members - Calendar
Full Version: NPC Hit NPC Detection
RPG RPG Revolution Forums > Game Engines > RPG Maker XP Discussion
Brycej
As the title suggests, I'm looking for a way to identify when two NPC's collide... ultimately, removing them both.

Any suggestions how I might pursue this challenge?

Thanks for your time, I looked around a bit on here and didn't find such a solution so far... feel free to redirect me if I managed to miss it.

-Bryce
maximaxi3
could you please give me an example of what it is you're trying to do? Like what is it going to be used for? This would help alot, because without a real clear idea of what it will be used for it can be hard to make this.. like will it be for an in-game event(not event as in rmxp event but like a "game event" something happening in game), and if so how will it work will it just be two people running towards each other.. or do you want them randomly placed on the map and if they happen to touch they both disappear??
Xim
I guess a way to do this is to constantly record their X and Y positions through variables, via a parallel event. Then keep checking if they're both the same.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2013 Invision Power Services, Inc.