RPG Maker Forums

Basically my question would be is there a simple way, like a script call or some such, to check randomly generated x,y coordinates and determine if an event is already present at them before placing a new event?  

I am looking to place several events randomly as pick-ups, but I need to avoid having any of them appear at the same coords as any of the others. I have tried several variations of loops, switches, and using variables for each generated event's x and y (then checking them against the randomly generated numbers) and none of my attempts have really worked, plus they are terribly complex and cumbersome. Needless to say, some form of event detection would be a much more elegant solution.

As always, if there is a solution any and all help will be deeply appreciated.

Cheers,

D.

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,040
Messages
1,018,476
Members
137,824
Latest member
dobratemporal
Top