Charas-Project

Game Creation => RPG Maker => Topic started by: Communist_Gamer on May 31, 2015, 11:27:02 PM

Title: WTF Am I doing wrong? (Loop message choice error)
Post by: Communist_Gamer on May 31, 2015, 11:27:02 PM
Here's my latest dilemma, I'll cut to the point.

The game problem seems to have occurred somewhere along the coding process;
Basically imagine a narrative of a broke divorced father who commits suicide after his daughter is taken away
for poverty (though legally defined as "criminal negligence").
Once he's dead he appears at the lake of the dead as an outline of an androgynous person surround by dozens of figures
identical to him. He passes through a checkpoint system where souls are administered into a bureaucratic/administrative process
of filling in the outline to recreate the dead individual to work at the Scarlet Sector.
Administration, pissed off with the CEOs of the Scarlet Sector Corps. decides to neglect their jobs on their next soul (you) in order
to take a day off.
Afterwords you regain consciousness (begin moving around) in a (technologically) primitive looking room and are greeted
by an apologetic colleague of the negligent administrator.
That's when you have the option to start asking all kinds of questions regarding the nature of your new fate.

So I use the choice option and allowed the hero to ask four questions (and 'ignore cancellation').
Now,
Among the first series of questions you can ask to have key glyphs be explained as to what they represent, which
takes up 8 message choices; So I need to break it up between two strings.

Here's what I did in a nutshell (I will provide screenshots as well);

Loop;
Message choice A, B, C, D
A;
Loop;
(Opens up four more choices to explain the glyphs)
"$A"
"$v"
"Nevermind"
"Next"

   end loop;
  end loop;
 end loop;
(All this in a nutshell)

When you hit next it opens a similar list that ends with "Back" which breaks the loop and works perfectly;
for some reason though instead of "Nevermind" breaking back to the original four message choices it just loops the
four choices over and over and prevents you from going anywhere outside of those eight choices.

WTF AM I DOING WRONG?!

I even went in and added two "break loop" just to be sure!!!!
Title: Re: WTF Am I doing wrong? (Loop message choice error)
Post by: Communist_Gamer on May 31, 2015, 11:28:34 PM
Continued
Title: Re: WTF Am I doing wrong? (Loop message choice error)
Post by: Communist_Gamer on May 31, 2015, 11:30:59 PM
PS: Sorry for the out of place "untitled" screenshot; I uploading that image to see if it would work and the clear image
function wouldn't register.

PSS: The image captions help narrate with visuals the problem
Title: Re: WTF Am I doing wrong? (Loop message choice error)
Post by: Meiscool on June 01, 2015, 02:34:14 AM
Instead of using break loop, try a label. Place a label (example, Label 1) where you want the event to go to once the looping ends. Then instead of break loop, put in a Jump to Label 1.
Title: Re: WTF Am I doing wrong? (Loop message choice error)
Post by: A Forgotten Legend on June 01, 2015, 02:07:29 PM
Loops are pretty broken in rm2k3, so I suggest avoiding them when you can and use labels suggested by Meis.
Title: Re: WTF Am I doing wrong? (Loop message choice error)
Post by: Communist_Gamer on June 01, 2015, 08:00:43 PM
AHHHHHHHH I could kiss you guys that solves all my problems!!

@Forgotten; Noted.