how to change multiple rows in a table at the same time.
I have a TABLE with 96 ROWS and I need to change the value of an Integer COLUMN in ALL 96 ROWS at the same time when called upon. I have tried using the TableRowCount(table) in the expression editor in the ChangeTableValues but It's not changing anything. Im not sure if thats the right way and Im missing something or Im just way off or its not possible??
Also, any help guiding me in the right direction about preforming search loops in tables would be the cherry on top
Thanks in advance
Dan
Also, any help guiding me in the right direction about preforming search loops in tables would be the cherry on top
![;) ;)](http://forums.gamesalad.com/plugins/emojiextender/emoji/twitter/wink.png)
Thanks in advance
Dan
Best Answers
-
MotherHoose Posts: 2,456
@ironDan
difficult not knowing when… why… and what the changes in the columnValues should be
here is one how-to:
demo: http://www.mediafire.com/?etddodrodd19y49
this might work for you … updates the values of 96 columns as fast as I could get it to go
just added 10 to the values
… you could add/subtract/multiply/divide by another attributeMH
-
MotherHoose Posts: 2,456
@ironDan … glad that worked!
in general remember: you are smarter than a computer
though a computer will compute numbers/respond to changes faster than you
a computer does nothing till the OS or you tell it to do something
tell it when to do it … set-up the attributes as conditions to trigger
then tell it what to do!MH
Answers
I hope GS will add the ability to change more rows at once to that behavior like it works for columns.
Dan