Hi everyone!
Seems that besides being a newbie with RPGMaker also Im not very good with logic....sigh, but hard work can overcome the lack of talent lol, so Im never going to drop my plan of making my first game.
So this is what happens:
For the sake of making a good dungeon crawler, with replay factor, wanted to have a constant mechanic in which events are randomized througout the area, so you can never tell what events might be triggered when you check them.
I will use the actual example Im trying to master, Imagine a room with 5 chests, from those I want always to have 3 with an item drop and 2 to trigger a mimic fight! a classic right.
But the most my brain was able to process was to have a random variable from 1 to 5, and if equal or less than 2 then trigger fight, otherwise drop item. But what it does is grant like a 40% chance to find a mimic EVERY time I check any of the 5 chests, while as I just would like to have the chance for the mimic to occur up to two times once all the 5 chests were checked.
Do I explain myself?
Also someone tried to explain this to me, using an example of 10 chests with 3 hidden keys, and even if the person seemed to understand variables a lot better, It wasn't quite right either.
Then someone else tried to explain this to me:
QuoteThere is atypo in the first picture - the second and third control variables both use variable for chest2, the third one of course has to be for chest3
Additionally, the commands in the second picture would result in several times "show text there is no key" if none of the variables are chest 4, so better place the second conditional branch inside the else branch of the first and remove the show text from there. Then place the third condition in the else-branch of the second condition and also remove the show text from there.
Keep the show text only in the last else branch.
So yes when I tried the event myself the result was just a loop of both events, it was getting there but broken after all, and I just couldnt understand the second explanation, Im too embarassed to ask again on that forum, for real
, so maybe you guys have a better way to set the 5 chests with 2 hidden mimics example? :^_^\':