2 Replies Latest reply on May 1, 2012 7:32 AM by josh_chunick

    problem with reseting timer and getting level select to work.

    Gundam zero

      hey guys i have problem with reseting the timer. Whats happens is that the timer counts down from 60 to 0 and then a alert pops up and then informs the player that they are going back to level select screen. after this they can choose harder or easier level but when you click on any of them the flash up for a split second and vanish again. Along wiht this the counter is going into negative numbers. can anyone help? this is the script i have typed in the director11.5 :

       

      on exitFrame me

        put 60-(_movie.timer /60) into member("Timer")

        if 60-(_movie.timer/60) > 0  then

          go to the frame

        else

          alert "go to select"

          _movie.go("select")

        end if

       

      end

       

      thanks