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

Synonym Replacements

Discussion in 'Dialogue' started by aztlan, Sep 4, 2014.

  1. aztlan

    aztlan Swell Supporter

    Joined:
    Sep 14, 2013
    Messages:
    507
    Likes Received:
    15
    Having a quick and easy way to tell the dialogue to pick a synonym for a word or two in a line would allow for the dialogue to seem much more varied and less repetitive.

    Suppose I want to have a line play that randomly chooses among several synonyms. How do I do that?

    For example: "I am a *X*" where X is randomly chosen from {"male", "man", "dude", "guy"}.

    Is there any way to then make the choice either:

    (a) remembered so it is chosen again or
    (b) drive other word choices down the road?

    For example, "I am a *X* and my name is *Y*" where X is randomly chosen from {"male", "female"} and Y is {*Bob iff X = male, Jane iff X= female}?
     
  2. Pim_gd

    Pim_gd Swell Supporter

    Joined:
    Jan 25, 2013
    Messages:
    718
    Likes Received:
    46
    Basically, you want array support.
     
  3. aztlan

    aztlan Swell Supporter

    Joined:
    Sep 14, 2013
    Messages:
    507
    Likes Received:
    15
    I suppose I do. I was wondering if there is any clever way around it. I'm sure there must be but my mind is drawing a blank at the moment....

    P.S. - thanks heaps for updating your dialogue checker!
     
  4. SyntaxTerror

    SyntaxTerror Swell Supporter Content Creator

    Joined:
    Jul 24, 2014
    Messages:
    367
    Likes Received:
    86
    I don't really understand what you really want, but there is this post from T0mcat that explains how to insert randoms words in phrases:

    intro:"" {"set":{"word":"angry"}, "next":"intro01"}
    intro:"" {"set":{"word":"horny"}, "next":"intro01"}
    intro:"" {"set":{"word":"wet"}, "next":"intro01"}
    intro:"" {"set":{"word":"tired"}, "next":"intro01"}
    intro:"" {"set":{"word":"bored"}, "next":"intro01"}

    intro01:"I'm sooo *word*!"
    intro01:"I'm really getting *word* now."
    intro01:"If You wanted to get me *word*, You did it."
    intro01:"If You don't fuck me right now, I'll be getting even more *word*"
    intro01:"I'm *word*. Really fucking *word*. Can't even imagine I could get more *word* than I am now"

    You can also simply copy the same phrases and just change the words you want:

    intro:"I am a male."
    intro:"I am a man."
    intro:"I am a dude."
    intro:"I am a guy."
    intro:"I am a meat popsicle."

    I hope that helps...