Synchronization between 2 tables

3absh3absh Member Posts: 601
edited May 2017 in Working with GS (Mac)

Say we have 2 tables
Table1
Table2

I want a behavior when any change in any one of the tables will result in the change in the other table

NOTE
the 2 tables don't have the same value locations
T1(1,1) = T2(2,1) for example

Comments

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    There's no easy way* to detect a change but since you (as the programmer) always know when a change occurs, you can program it to sync the value as long as there's some organization pattern to the table (and if there isn't... I'd recommend one!).

    *for example, a really nasty nested loop

    New to GameSalad? (FAQs)   |   Tutorials   |   Templates   |   Greenleaf Games   |   Educator & Certified GameSalad User

Sign In or Register to comment.