application.getTotalFrameTime

Returns the amount of time the game has been running.

Prototype

  1. nTime = application.getTotalFrameTime ( )

Description

This time is update by the engine at each frame, so it won't change if you get it at the beginning and at the end of a script.


Parameters


Return values

nTime - time number in seconds


Available since ShiVa 2.0