Dialogue box question

  • #20, by red363Thursday, 02. September, 22:54 A month ago
    This script is made to show portraits of the characters, not the characters themselves.

    I don't know the setup of your game. Are there characters in the game walking around, or is it more of a first person view and you use characters only for the dialogues?

    When using portraits, not the characters themselves: add portraits of the characters as buttons to the interface with your textbox. Assign a value for portrait_index to that button and change name and value according to your settings in the script.

    When using characters you could set the postion of the character so that it aligns with your box (but you would have to do this for every scene), leave all directions of the character empty, only add an image to the talk outfit. Then the character should appear when talking. But keep in mind, that the interface is above everything in the scene including the characters. So the characters can only be on the side, above, below the text box, not in front of it.
    Thank you for the answer.
    Yes, this is a first person view and I only use characters for dialogue and lines / comments.

    Thanks for the idea, I'll try the option with buttons.

    Newbie

    12 Posts


  • #21, by gregor-muellerTuesday, 12. October, 10:34 A week ago
    Sorry I never got around to thanking for the help. I had trouble getting it to work and lots of other things to do first but I finally got around to it. The problem was a case sensitivity in line 17: it should be Characters with a capital c.
    But now it works splendidly! Thank you so much for it!

    Newbie

    13 Posts

Write post