Jump to content

Recommended Posts

Posted

Hi,

I know how to export various variable in export.lua but I can't get the actual sim time.

How do I get the current mission/sim time?

I use the F16. I can export the analog clock dials position it will show my the time in 12hours format which will not distinguish between 6am and 6pm e.g.

 

Thanks

 

 

Posted (edited)
DCS.getModelTime() -> number
returns current DCS simulation time in seconds.

DCS.getRealTime() -> number
returns current DCS real time in seconds relative to the DCS start time.

Export.LoGetMissionStartTime

Are these what you were looking for? (\DCS World OpenBeta\API\DCS_ControlAPI.html)

Edited by Bailey
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...