3 Replies Latest reply on Nov 6, 2008 10:10 AM by kglad

    how to end a called function if called again?

    MikeM2 Level 1
      I have a function that populates a scene with a number of boxes via attach object VIA the FOR function. Now I have it set up so that each box has a delayed time to fade in. Now every time you push the update button, it repopulates (data loaded from database) and it does it correctly. but if you push update again before all the boxes have faded in, some of the boxes arent removed and it messes up. (notice i do have a "for" script thats supposed to remove all current objects before the "for" call sends out to load the data and hte new boxes..

      I'm guessing that i need somthing tha breaks the last function if its called again, how do i do so ?