Loading text from random location in table
redleaf
Member Posts: 10
Hi all,
I have a table called "x" with 3 rows and three columns filled with text values. There's an actor that is set to display text and for that text I have "tableCellValue(x,rand(1,3),1)"
What I want this to do is display a random row in the first column, but it only shows "Invalid Expression".
Am I doing something wrong?
I have a table called "x" with 3 rows and three columns filled with text values. There's an actor that is set to display text and for that text I have "tableCellValue(x,rand(1,3),1)"
What I want this to do is display a random row in the first column, but it only shows "Invalid Expression".
Am I doing something wrong?
Comments
tableCellValue(game.x,random(1,3),1)
Also, no quotes.