Display Table?
Flamingbanana
Member, PRO Posts: 90
Heelooo
I was wondering if anyone knows how to print (concatenate) a whole table in-game. So in other words say you have a table of 40 rows and one column. I don't want to print each row individually because that would take forever so is there a way I can do this easily? Maybe using display text and a loop or something... I kinda already tried that and it didn't work.
And even if you can only do it in a debug statement it would help me tremendously
Thanks!
-Tad
I was wondering if anyone knows how to print (concatenate) a whole table in-game. So in other words say you have a table of 40 rows and one column. I don't want to print each row individually because that would take forever so is there a way I can do this easily? Maybe using display text and a loop or something... I kinda already tried that and it didn't work.
And even if you can only do it in a debug statement it would help me tremendously
Thanks!
-Tad
Comments
I'll try this out later today
You can only use the Loop behaviour if you're using a nightly build of GSC.
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
I am trying to do the same but I don´t have any "loop" command (I am using 0.10.4.1 version), is there anyway I can show the whole table? I am making a game for several players playing together and I would like to show the table of score of all players.
Hi @fjimenez Without the loop behaviour in the main beta GSC for the while, here's a test file showing a way to loop through table entries for scoring; just check out the Rules and I'm sure it'll be of help:
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
I have applied this in the most recent version of GS but I can only get the words to loop over the top of one another rather than down the page as your demo shows. Am I missing something, how do I get the words to list under one another?