How do I make "Hello, (Insert Name Here)" style text?

From the Asset Store
Change delay, create new lines, "backspace" the text
  • I'm working on a turn-based virtual pet/monster raising game, and I want a feature where an assistant character tells you the status of your monster at the start of the turn (if you've ever heard of Monster Rancher, that.)

    I store the names of both the player and the monster in string variables and I have a set of objects related to the assistant's dialogue, but I cannot figure out how to make the assistant's text box both have written text in and call upon the name of the monster.

    I can set it to just say the name of the monster:

    I can set it to just say dialogue:

    But I get an error when I try to use both.

    Is there a function or expression to let me use both? Or is what I'm trying to do just not possible in Construct?

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • you need to use the & symbol to concatenate the two parts together

    MonsterName & "Looks great!"

  • Good Lord, thank you! I knew it was going to be something right in front of my face, lol.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)