Change table value from another table not working
G.A.S.P.Industries
Member, PRO Posts: 25
Hello,
I'm trying to make a trivia sort of game. Essentially I have one table with the trivia questions and answers and blank cells selected to text as I am dealing with text.
On another table I have a list of words which I want to insert into a specific cell in the first table.
I have tried the change table by selecting the first table to change, the row is a attribute which translate to random(1,table row count (first table) and column is 3 which is the column I want to insert the value from the second table. Under the value heading I have a an attribute which I had put into a change attribute behaviour random(1,table row count(2nd table).
However I get numbers that show up on the actor. They seem to be random numbers but all my cell values are all text based. I'm not sure if this makes sense but I've even tried to add timers.
Any help would be greatly appreciated on how to properly use the change table value because i think I'm doing it wrong. Thanks
I'm trying to make a trivia sort of game. Essentially I have one table with the trivia questions and answers and blank cells selected to text as I am dealing with text.
On another table I have a list of words which I want to insert into a specific cell in the first table.
I have tried the change table by selecting the first table to change, the row is a attribute which translate to random(1,table row count (first table) and column is 3 which is the column I want to insert the value from the second table. Under the value heading I have a an attribute which I had put into a change attribute behaviour random(1,table row count(2nd table).
However I get numbers that show up on the actor. They seem to be random numbers but all my cell values are all text based. I'm not sure if this makes sense but I've even tried to add timers.
Any help would be greatly appreciated on how to properly use the change table value because i think I'm doing it wrong. Thanks
Best Answer
-
hiddevandijk Posts: 17It seems like you need to add a dummy object off-screen as a temporary storage box for you values. So when you press a button, randomly select a text from Table A and load it into the Dummy Actor's text attribute. This you can than upload to Table B.
Add a second to test the value written to Table B
(When testing you can keep these Dummy Actors within the screen so you can see your tables are updating correctly.)
Answers