1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Loading a dialogue within a dialogue.

Discussion in 'Dialogue' started by Corgalas, Feb 9, 2016.

  1. Corgalas

    Corgalas Potential Patron

    Joined:
    Feb 11, 2013
    Messages:
    24
    Likes Received:
    6
    Hey all.

    I'm working on a large project and it's come to the point where it makes more sense to for the current dialogue to load the next dialogue file at the end.

    I know this is possible with Dialogue Actions. What I don't know is how to actually use this.
    Is there any examples you could point me to? Or provide a functional code example?

    Thanks.
     
  2. aztlan

    aztlan Swell Supporter

    Joined:
    Sep 14, 2013
    Messages:
    507
    Likes Received:
    15
    I think that Wee Willie does it in some of his.

    The following line will load a dialogue called Dialogue2.txt which is in the same character folder as Dialogue.txt:

    SwitchDialogue:"Awesome, down on your knees and wrap your lips around my pole*, ME*."{"style":"him","set":{"da.dialogue.load":"Dialogue2.txt"}}