Charas-Project

Game Creation => RPG Maker => Topic started by: Dogbutt on September 01, 2013, 07:39:30 PM

Title: Need help with figuring out how to edit choices now!
Post by: Dogbutt on September 01, 2013, 07:39:30 PM
Hey! I'm kinda new to all this jazz so sorry if I ask this stupid question, but I was wondering if it's possible to make choices loop?

Let me be a bit more specific

See the picture? I'm trying to make it so after the dialogue for any of those choices is done, it loops back here. But the problem is,  it keeps looping back to the dialouge BEFORE the choices. So I was wondering if it is possible to make it loop properly? So if I am being vague or unspecific


Figured this out!! Now I need to know to like, delete all the dialogue from a whole choice without having to do it one at a time.
Title: Re: Need some help with loops! (And maybe other things!)
Post by: Meiscool on September 01, 2013, 07:59:11 PM
Labels work better than loops in this kinda case. Just place a "label #" right before the choices, and when you want it to go back to that place, use "jump to label #".
Title: Re: Need some help with loops! (And maybe other things!)
Post by: Dogbutt on September 01, 2013, 08:16:36 PM
Oh wait sorry where can I find labels?

EDIT: SORRY NEVER MIND!!! Thank you so much!!
Title: Re: Need some help with loops! (And maybe other things!)
Post by: Prpl_Mage on September 01, 2013, 09:00:01 PM
Yeah, labels are like, the ****.
Title: Re: Need some help with loops! (And maybe other things!)
Post by: zuhane on September 01, 2013, 10:27:00 PM
I love label.
Title: Re: Need some help with loops! (And maybe other things!)
Post by: DragonBlaze on September 02, 2013, 08:04:16 AM
So contrary to what everyone just said, labels are terrible! If you ever do any real software engineering and use a label, people will flame you like no other because labels are a really bad practice and are just plain messy. A much better approach is:

[loop]
-show dialogue
-(dialogue choices)
-[ask about personal live handler]
-- (messages about personal life)
-[ask about others handler]
-- (messages about others)
-[ask about voting handler]
-- (messages about voting)
-[I'm done handler]
-- BREAK OUT OF LOOP
[End Loop]
(continue with whatever else)


In summery, labels are a quick and dirty way to jump around in code, but they are very messy as in they are hard to follow when you're trying to read code, plus if you ever want to expand your code, it is more difficult. There is ALWAYS an alternative to using labels, and the alternative is always better. Learning how to code cleanly will save yourself many headaches in the future.
 
Title: Re: Need some help with loops! (And maybe other things!)
Post by: Dogbutt on September 02, 2013, 05:04:25 PM
Ah I'm not very savy with code and any of that jazz, and so far labels seem fine to me through the tests??

Ah but anyway OK now I have a new problem! In game, there's this huge wall of text that takes place under a choice. Is it possible to delete that whole choice and get rid of all the dialogue without having to delete every single action individually?