Difference between revisions of "DCS func getModelTime"

From DCS World Wiki - Hoggitworld.com
(Created page with "{{Template:DCS_server_funcs |fName= getModelTime |vNum= 2.5.0 |par1= DCS |par2= |par3= |par4= |desc= Returns the DCS simulation time in seco...")
 
(No difference)

Latest revision as of 22:25, 22 April 2018


Environment: Server
Function: getModelTime Added with: 2.5.0
Member Of: DCS
Syntax: number DCS.getModelTime( )
Description: Returns the DCS simulation time in seconds. Dependent on how long the game has been open.


Return Value: number
Return Example: 542
Examples:
Related Functions: Control API: setPause, getPause, stopMission, exitProcess, isMultiplayer, isServer, getModelTime, getRealTime, getMissionOptions, getAvailableCoalitions, getAvailableSlots, getCurrentMission, getMissionName, getMissionFilename, getMissionResult, getUnitProperty, getUnitType, getUnitTypeAttribute, writeDebriefing, setUserCallbacks, reloadUserScripts, makeScreenShot
Notes: