RPG Maker VX Ace

RPG Maker VX Ace

View Stats:
TheDbr22 Sep 12, 2013 @ 2:53pm
How to use Loop and Loops Breaks?
I can't understand how to use them with text, and they're becoming more and more necessary... Please help! thanks!
< >
Showing 1-6 of 6 comments
5pam! Sep 13, 2013 @ 1:01pm 
Its actually quite easy:
Inside your loop use a conditional branch when to break that loop.

//Stuff before loop Loop Conditional branch <your condition to stop loop> break Loop else //stuff that happens inside loop, make sure you change your condition //so that the loop stops sometime branch end repeat above //Stuff after loop is done
Last edited by 5pam!; Sep 13, 2013 @ 1:02pm
TheDbr22 Sep 17, 2013 @ 4:05pm 
How would I do this within a Choice command? I have four choices and I want them all but one to loop back to themselves.

Sort of like this, Questions 1-3 loop back to the entire question but Question 4 pushes the conversation forward. I hope this is making sense haha

-------------------------
| |
| |
-----Question 1----|
-----Question 2----|
-----Question 3----|
-----Question 4------------>
Hotti but Thotti Sep 17, 2013 @ 4:38pm 
You would start loop before the choices, then put all the choices into the loop, and under choice 4 you would have whatever you want to have there, then break loop, then continue with the conversation outside of the loop.
TheDbr22 Sep 17, 2013 @ 4:59pm 
Okay thanks :D
derictorres22 Feb 12, 2014 @ 5:14pm 
Originally posted by 5pam!:
Its actually quite easy:
Inside your loop use a conditional branch when to break that loop.

//Stuff before loop Loop Conditional branch <your condition to stop loop> break Loop else //stuff that happens inside loop, make sure you change your condition //so that the loop stops sometime branch end repeat above //Stuff after loop is done

Does this works when looping a movie?
Hajami Feb 13, 2014 @ 1:06pm 
Insteed of a Loop you could use Labels.
You can Set a Label somewhere and with the Jump to Label Command u can Jump to that Point and the Code continues there. You can also build loops with Labels, but they are more flexible. But if you need hundreds of em executed in one frame, than loops are a little more performece safing. shouldnt be a problem in your case.
Last edited by Hajami; Feb 13, 2014 @ 1:07pm
< >
Showing 1-6 of 6 comments
Per page: 1530 50

Date Posted: Sep 12, 2013 @ 2:53pm
Posts: 6