Order of Execution Question?

DenimSharkDenimShark Member Posts: 192
edited November -1 in Working with GS (Mac)
Ok so I have a few actors that when touch is released will change a variable then change scene, or others that will change variable when needed, then save variable. My question is this:

I do have the change scene and save attribute AFTER the change variable behaviours in both cases, but is that the order they will necessarily be executed or do I have to go back and and a timer to each.

Comments

  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    It executes from the top of the list down. It happens pretty fast, so sometimes you may need a timer for certain behaviors to execute properly. And make sure you save attribute before you change scene.
  • DenimSharkDenimShark Member Posts: 192
    Ok so it won't ever change scene before it changes a variable if it's below it?
  • SlickZeroSlickZero Houston, TexasMember, Sous Chef Posts: 2,870
    In theory, that is true. You'll have to test it out just to be on the safe side. Sometimes it happens so fast on newer devices it could change before it happens, but I use this method, and it works fine for me.
Sign In or Register to comment.