Difference between revisions of "GetSecondsPassed"

16 bytes added ,  00:10, 29 May 2008
no edit summary
imported>Fella
imported>Quetzilla
Line 1: Line 1:
'''Syntax:'''
'''Syntax:'''
  GetSecondsPassed  
  (seconds:float) GetSecondsPassed  


Returns the number of seconds passed since the last game frame (in float). Extremely useful for running a timer within a script. Each script has its own counter for GetSecondsPassed and when the function is called, this counter is automatically reset to 0. Thus, all subsequent calls within the same frame and script will return 0.
Returns the number of seconds passed since the last game frame (in float). Extremely useful for running a timer within a script. Each script has its own counter for GetSecondsPassed and when the function is called, this counter is automatically reset to 0. Thus, all subsequent calls within the same frame and script will return 0.
Anonymous user