String concatenation

WarToast

Active Member
Reaction score
3
Hey,

I am wondering how I can create an effect similar to "Value of a is: " + a with the GUI editor.

This is what I have now.
Trigger:
  • UI - Display nightNumberConverted for (All players) to Debug area



What I want it to do is
Trigger:
  • UI - Display "Value is: " + nightNumberConverted for (All Players) to Debug area


Any help?

Edit: I guess it is actually text concatenation, since it's not strings that are posted as text messages.
 
Code:
Text Message
    Message: Combine Text
        Text 1: "Player "
        Text 2: Combine Text
            Text 1: Convert Integer To Text
                Value: Arithmetic (Integer)
                    Value 1: HunterInteger
                    Operator: +
                    Value 2: 1
            Text 2: " is the hunter!"
    Players: All Players
    Message Area: Subtitle

That's what the function should look like. (Copied this from my map. It has a total of 3 texts combined to one message)
 
General chit-chat
Help Users
  • No one is chatting at the moment.

      The Helper Discord

      Staff online

      Members online

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top