I've done some dialogues in my prototype and wanted to start doing more advanced ones. And I do know how to achieve results I want, but it seems it would involve a lot of seemingly unnecessary copy-pasting, so here's some questions:
1) Can I easily make the dialogue options "disappear"?
Let's say I have 4 dialogue options. Whenever I exhaust one, I want it to stop appearing. Can I do that easily, without having to script in 4 switches that will then lead to a new "show choices" variant without one of these options? Because scripting this seems like a lot of tedious, repetitive and more or less mindless work.
2) Can I make dialogue choices appear based on a switch or variable?
Yes, I know I can create a conditional branche and make different versions of the "show choices" appear, but that means that pretty much the same dialogue gets copy-pasted a lot, with a small addition of a new dialogue line. With 3 unlockable dialogue choices like this, the script quickly becomes unnecessarily repetitive and complicated.
3) Let's make a "let's go drinking" dialogue:
A character comes to us and nags us to go drinking. We repetitively have 2 choices: a yes and a no.
- yes does a whole bunch of stuff, like transfers you, plays the cutscene, whatever
- no takes you to another choice branch with "come on, man" - no - "just one drink" - no - "when was the last time we drank together?" - no - "oh come on, don't be a square" - no - and so on...
The way I would approach it now would be... copy-pasting the "yes" option results into every single yes/no choice branch. Exactly the same output, making the script super long, barely readable and all for the sake of some dumb joke, when I would like the script to see "oh, if the choice is yes, then go to the party. if the choice isn't yes, stay in the endless loop of the guy's nagging"
Any ideas / tricks / plugins, guys?
1) Can I easily make the dialogue options "disappear"?
Let's say I have 4 dialogue options. Whenever I exhaust one, I want it to stop appearing. Can I do that easily, without having to script in 4 switches that will then lead to a new "show choices" variant without one of these options? Because scripting this seems like a lot of tedious, repetitive and more or less mindless work.
2) Can I make dialogue choices appear based on a switch or variable?
Yes, I know I can create a conditional branche and make different versions of the "show choices" appear, but that means that pretty much the same dialogue gets copy-pasted a lot, with a small addition of a new dialogue line. With 3 unlockable dialogue choices like this, the script quickly becomes unnecessarily repetitive and complicated.
3) Let's make a "let's go drinking" dialogue:
A character comes to us and nags us to go drinking. We repetitively have 2 choices: a yes and a no.
- yes does a whole bunch of stuff, like transfers you, plays the cutscene, whatever
- no takes you to another choice branch with "come on, man" - no - "just one drink" - no - "when was the last time we drank together?" - no - "oh come on, don't be a square" - no - and so on...
The way I would approach it now would be... copy-pasting the "yes" option results into every single yes/no choice branch. Exactly the same output, making the script super long, barely readable and all for the sake of some dumb joke, when I would like the script to see "oh, if the choice is yes, then go to the party. if the choice isn't yes, stay in the endless loop of the guy's nagging"
Any ideas / tricks / plugins, guys?