Action "Display text" does not break

  • #1, by vozerSunday, 22. March 2015, 21:25 5 years ago
    Hi!

    I am doing a cut scene, where the character comes into the room, says something, walks somewhere and starts a conversation.

    The "saying something" is accomplished with an action in the scene. (See picture 1)
    But somehow i can´t get him to "pause"/break the lines.

    Any ideas?

    thx

    Newbie

    35 Posts


  • #2, by afrlmeSunday, 22. March 2015, 21:36 5 years ago
    Why are you adding 
    after the lines? or more correctly
    , as it means line break.
    A line break is the equivalent of pressing the enter key to drop down to the next line.
    1
    2
    3
    4


    You shouldn't really add all of your text into the same display text - it's ok if you are not planning on adding speech files.

    example:
    Display this text for 1 second. <p1000ms>
    1
    2

    Display this text indefinitely (requires left click to end). <p>
    1
    2

    Display this text until audio file ends. <pa>
    1
    2

    This display text contains... <p500ms> ...multiple display... <p300ms> texts! <p400ms>
    1
    2

    Quick note: if you want to display multiple texts in the same display text, then you need to make sure you write them all on the same line - in other words don't press enter or add to the end of them.

    If you want to create a pause between displayed texts (a period of time until the next text is shown) then you should create each text inside of its own display text action part & add a pause action part after the display text action to pause the action list itself.
    display text "blah blah blah"
    pause for x milliseconds
    display text "wibble-wobble"
    etc..
    1
    2
    3
    4
    5

    Imperator

    6815 Posts

  • #3, by vozerSunday, 22. March 2015, 21:59 5 years ago
    hey! thx for the explanation! the br-tag was my idea of doing

    , thanks for clearing that up.

    Is it also possible to click and he jumps to the next line like in the dialogues?

    so for example i do:

    So jetzt ist es passiert.<p5000ms> Meine Eltern haben mich rausgeschmissen...<p5000ms> ... und meinen ich soll was gescheites studieren.<p5000ms> "Ich soll Akademiker werden" blalblabla.<p5000ms>Mhm, na dann werd ich mich wohl mal anmelden...<p5000ms>Vielleicht weiß der Portier mehr..<p5000ms>ich werd mal ganz nett fragen...

    and if somebody wants to skip the line he clicks?

    Newbie

    35 Posts

  • #4, by vozerSunday, 22. March 2015, 22:37 5 years ago
    Just answered the question to myself. I forgot to check "skip text allow always" in the game options.

    cheers

    Newbie

    35 Posts

  • #5, by afrlmeSunday, 22. March 2015, 22:49 5 years ago
    With that option enabled texts can be skipped during cut-scene actions or when you use the hide / show cursor action part. You can actually disable or enable text skipping whenever you like by setting the option via Lua script while the game is running...
    game.AlwaysAllowSkipText = true
    1
    2

    Imperator

    6815 Posts

Write post