I have one more request. How do you display variables in a GUI. I know its like text = "Blah Blah Blah"; but adding a variable at the end of Blah Blah Blah (Looks like this text = "Blah Blah Blah" %ewnfl) doesn't work! I need to know for displaying please!
it's called concatenation, in TorqueScript here are the most important syntaxical structures:
@, this will put whatever the two strings are, right next to each other
TAB, this will put a tab in between the two strings, and separate fields
SPC, this will put a space in between the two strings
Uses of each:
text = "Lol" @ "Hey man!";
This would result in: "LolHey man!"
text = "Lol" TAB "Hey man!";
This would result in: "Lol" ^ "Hey man!" or "Lol Hey man!"
text = "Lol" SPC "Hey man!";
This would result in: "Lol Hey man!"