GameSalad

Synchronization between 2 tables

abuabed84abuabed84 Posts: 389Member, PRO
edited May 3 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 Posts: 10,916Member, Sous Chef, PRO, Senior Sous-Chef

    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.