missionStart: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "[[Category:Scripting Commands ArmA|" to "[[Category:Scripting Commands Armed Assault|") |
Killzone Kid (talk | contribs) No edit summary |
||
Line 25: | Line 25: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[date]], [[time]], [[daytime]], [[serverTime]], [[setDate]] |See also= | | [[date]], [[time]], [[daytime]], [[serverTime]], [[setDate]], [[systemTime]], [[systemTimeUTC]] |See also= | ||
}} | }} | ||
Revision as of 22:49, 10 July 2020
Description
- Description:
- Returns date and time when mission started in format [year, month, day, hour, minute, second] in MP, which differs from date format only by seconds. In SP returns [0,0,0,0,0,0].
- Groups:
- Uncategorised
Syntax
- Syntax:
- missionStart
- Return Value:
- Array - real local date and time (similar to date format but with seconds)
Examples
- Example 1:
setDate (missionStart select [0,5]);
- Example 2:
- Set real date:
//postInit = 1; if (isServer) then { waitUntil {time > 0}; setDate (missionStart select [0,5]); };
Additional Information
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note
Notes
Bottom Section
Categories:
- Scripting Commands
- Introduced with Operation Flashpoint: Resistance version 1.80
- Operation Flashpoint: Resistance: New Scripting Commands
- Operation Flashpoint: Resistance: Scripting Commands
- Command Group: Uncategorised
- Command Group: Mission Information
- Scripting Commands OFP 1.96
- Scripting Commands OFP 1.99
- Scripting Commands Armed Assault
- Scripting Commands Arma 2
- Scripting Commands Take On Helicopters
- Scripting Commands Arma 3