Quantcast
Channel: Super Mario Bros. X Forums
Viewing all articles
Browse latest Browse all 2660

Help and Support • How do I combine string variables?

$
0
0
I'm planning to make something where the player inputs letters in an order to form a level's name, which will then be loaded with each letter as a variable, but I can't figure out how to combine string variables (a variable for each letter.)

Example: "level" combined with ".lvlx" to make "level.lvlx"

I've tried doing table variables, such as {"level",".lvlx}, and I've also tried to use + to combine the string variables, such as Level.load("level"+".lvlx"), since that works in other programs, but it always gave me an error trying to load it.

Statistics: Posted by AiriableConditions — Sat Dec 30, 2023 4:12 pm



Viewing all articles
Browse latest Browse all 2660

Trending Articles