Having an issue with effectively using tables to display a certain row
Weswog
Member Posts: 1,171
So basically I want to be able to display text from a an entire row when the row is randomly selected the row has 2 columns in it, so whenever I want it to that whenever I press a button it randomly selects an entire row and displays the 2 columns separately in different parts of the screen. Not sure if this is possible or not, but any help would be greatly appreciated.
Thanks, Weswog.
Thanks, Weswog.
Comments
I tried creating a table called test with two columns, and can display values from the first and second column together like this
Using Display Text:
tableCellValue( game.test ,1,1).. tableCellValue( game.test ,1,2)
Create an integer rand
change attribute to random(1,5)
tableCellValue( game.test , self.rand ,1).. tableCellValue( game.test , self.rand ,2)