QuizicalGin 100 Posted December 29, 2013 Forgive me if I'm a little dense on this but I was wondering how I could intentionally make looping dialogue for each time a character talks as in they will say A, B, and C in order. The best example I can think of is from Brentilda in Banjo and Kazooie. I've tried googling it but I've only found results that either fix it when it's an issue or if it's multiple choice, which I currently do not need. Help please? ' w ' ; Share this post Link to post Share on other sites
Ocedic 249 Posted December 29, 2013 Use self switches. Three different event pages with a self switch A and B. Page 1 turns on A, Page 2 turns on B, then Page 3 turns off A/B. Share this post Link to post Share on other sites
QuizicalGin 100 Posted December 29, 2013 There's a problem with that. Most of my self switches are already used up in finishing up other cutscenes so I'm afraid I can't do that. Share this post Link to post Share on other sites
Galv 1,386 Posted December 29, 2013 You could use a variable Share this post Link to post Share on other sites
QuizicalGin 100 Posted December 29, 2013 (edited) There's that too. I had just seen the loop thing in the commands and just thought it had something to do with that. xwx; I only say that since I had seen someone else use one page to make random dialogue for their NPCs I'm just wondering if there's a way to do the same thing but keep it all in the same order rather than being random. Edited December 30, 2013 by QuizicalGin Share this post Link to post Share on other sites
Asanaria 4 Posted December 30, 2013 You could probably use a label. Put a label at the start of the dialogue and then at the end put the command to jump to the label. If that's what you're after? Share this post Link to post Share on other sites
QuizicalGin 100 Posted December 31, 2013 Yeah! Something like that anyway. :'D Share this post Link to post Share on other sites
+ Titanhex 284 Posted December 31, 2013 Sorry, a label won't work. You'll need to use a variable or a series of switches. This requires indexing. Indexing is just saving a value, and using that value to check what you're doing. Just check if the variable is 0. If so, increase it by 1, show dialogue, and exit event processing. If 1, show next dialogue, increase by 1, etc. until the end where you set the variable back down to 0. Share this post Link to post Share on other sites
ff6shadow 5 Posted January 1, 2014 If a self switch isn't an option, just use a normal switch. Share this post Link to post Share on other sites
QuizicalGin 100 Posted January 1, 2014 My remaining question is it possible to do it on just one page? If random dialogue can be on one page surely sequential dialogue can be as well? ' w ' Share this post Link to post Share on other sites
The Yank 10 Posted January 1, 2014 Yes. Use conditional branches with the switch/variable being the condition. You can use multiple branches within each other. 2 Titanhex and QuizicalGin reacted to this Share this post Link to post Share on other sites
QuizicalGin 100 Posted January 1, 2014 Forgive me for asking, but would you mind shhowing me a screenshot so I know how to set it up? If there's a way to mess up I'd be one of many to find it probably . ; w ; Share this post Link to post Share on other sites
The Yank 10 Posted January 1, 2014 (edited) You can replace the self switches with normal switches, or variables (this requires a bit more, it's better if you want to loop for more than 3 dialogue snippets. Basically, when u talk to the cat, if self switch B is off, it goes to the next check. If self switch A is off, the cat says "I'm a cat" and turns self switch A on. The next time you talk to it, since A is on, it will say the other option (I like fish) and turn B on. This means the 3rd and final time you talk to it, since B is on, it will say "sdfsldjfls;" and turn all 3 switches off again, to be repeated. EDIT: Don't do the self switch C part, that parts unnecessary. A careless error on my part. Edited January 1, 2014 by The Yank Share this post Link to post Share on other sites
QuizicalGin 100 Posted January 1, 2014 Thank you ; w; Share this post Link to post Share on other sites
Tsarmina 2,611 Posted January 1, 2014 Good job, closing ^-^ Share this post Link to post Share on other sites