Difference between revisions of "GetSecondsPassed"

356 bytes added ,  12:39, 4 February 2007
Added expanded explanation to first example.
imported>JOG
imported>JustTheBast
(Added expanded explanation to first example.)
Line 18: Line 18:
  end
  end


If ''timer'' is set to any positive value (representing seconds to count down), it will be decremented fractionally with every frame, until it reaches 0, at which point the ''else'' clause will be executed.
The ''else'' clause should probably contain some kind of "DoOnce" catch, unless it is supposed to be executed every frame, once the timer runs down.


'''Example Two:'''
'''Example Two:'''
Anonymous user