Tables Select col2
![bigdbz](http://forums.gamesalad.com/applications/dashboard/design/images/defaulticon.png)
HI Guys.
Just messing around to see what I can do with tables.
I have a 2 col table and can get an actor to randomly 'Display text' from a cell in Col1. But I also want another actor to 'display text' from Col2 in the the corresponding row as the random actor..
ie: Col1 Col2
row12 East West
row 29 short long
Actor 1 displays East or short (random selection)
Actor 2 to display West if the random selection is East or long if the random selection is short and so on.
appreciate any suggestions.
db
Just messing around to see what I can do with tables.
I have a 2 col table and can get an actor to randomly 'Display text' from a cell in Col1. But I also want another actor to 'display text' from Col2 in the the corresponding row as the random actor..
ie: Col1 Col2
row12 East West
row 29 short long
Actor 1 displays East or short (random selection)
Actor 2 to display West if the random selection is East or long if the random selection is short and so on.
appreciate any suggestions.
db
Best Answer
-
tenrdrmer Posts: 9,934
You would want to use a GameAttribute in place of the row setting in both displays. Then Set that game attribute randomly.
Answers
fantastic. thanks for that I really appreciate it. Cant wait to get home tonight and give it a go.
db