Event sensing problems

Alador

The Mage of Mythix
Veteran
Joined
Apr 16, 2020
Messages
52
Reaction score
19
First Language
English
Primarily Uses
RMMV
Hey there, I was wondering if anyone would be able to provide some help with eventing/possibly scripting. I'd like to know how to make events sense other events without using a heck ton of variables.
15909687610764596194218391677523.jpg
So, in this picture, every square is an event. One event would be somehow tagged as a bomb, and non-bombs would show how many bombs are touching it. Is there any way to do this without using, like, 9000 variables, because I'm planning to have an 8x8 grid, and that would be a heck of a lot of variables. Any advice you have would be helpful!

EDIT: There is a way I could do this using scripting and $game.variables.value = ["ex1, ex2,] At least, I think that would work... But, that would involve a lot of tinkering, like ( I'm gonna simplify this here) if x pos = variable +1 or x pos = variable -1 or x pos = variable and y pos = variable 2 plus one, minus one, or equal to then do this. I mean, I could do that, but there has to be an easier solution!
 
Last edited:

Alador

The Mage of Mythix
Veteran
Joined
Apr 16, 2020
Messages
52
Reaction score
19
First Language
English
Primarily Uses
RMMV
This ride is very BUMP-y!
 

Alador

The Mage of Mythix
Veteran
Joined
Apr 16, 2020
Messages
52
Reaction score
19
First Language
English
Primarily Uses
RMMV
Why won't people view this? My emotions are very BUMP-y!
 

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

just spent FOREVER troubleshooting an issue with my keyboard... turns out the cord was just loose OTL
I count on someone one time, I let them promise something to me, and one week later it's complete silence as I'm completely let down. I hate everything.
Everytime I need to write dialogues I find myself writing new music pieces... what kind of trick is this?!
Me Being Dumb spending hrs trying to figure out Irenas Visual Novel busts plugin..lol. I'm probably missing something stupid and obvious xDD

let the journey begin >w>
X.X ok... I guess I'll just have to think about 48x48 a little differently. Its not "room for more work"..."its room for more detail!...yay"

Forum statistics

Threads
99,218
Messages
963,167
Members
130,807
Latest member
NotADev
Top