Difference between revisions of "GetSecondsPassed"

No change in size ,  18:37, 27 April 2006
revert. this example is absolutely correct. timer is meant to count backwards! you have to set timer to the desired amount of seconds
imported>Slserpent
imported>JustTim
(revert. this example is absolutely correct. timer is meant to count backwards! you have to set timer to the desired amount of seconds)
Line 10: Line 10:
  begin gamemode
  begin gamemode
   
   
  if timer > 2
  if timer > 0
     set timer to timer + GetSecondsPassed
     set timer to timer - GetSecondsPassed
  else
  else
     ; time's up! Do something.
     ; time's up! Do something.
Anonymous user