mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
AIRBOSS v0.9.7
This commit is contained in:
parent
d01b55c790
commit
412d9e7a82
File diff suppressed because it is too large
Load Diff
@ -864,6 +864,16 @@ function UTILS.GetDCSMap()
|
|||||||
return env.mission.theatre
|
return env.mission.theatre
|
||||||
end
|
end
|
||||||
|
|
||||||
|
--- Returns the mission date. This is the date the mission started.
|
||||||
|
-- @return #string Mission date in yyyy/mm/dd format.
|
||||||
|
function UTILS.GetDCSMissionDate()
|
||||||
|
local year=tostring(env.mission.date.Year)
|
||||||
|
local month=tostring(env.mission.date.Month)
|
||||||
|
local day=tostring(env.mission.date.Day)
|
||||||
|
return string.format("%s/%s/%s", year, month, day)
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
--- Returns the magnetic declination of the map.
|
--- Returns the magnetic declination of the map.
|
||||||
-- Returned values for the current maps are:
|
-- Returned values for the current maps are:
|
||||||
--
|
--
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user