daytime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Added Arma2)
('time' function, though distinctive, could be confused with this function and thus is a good See Also)
Line 25: Line 25:
|mp= Returns the current <u>local</u> ingame time in hours.  
|mp= Returns the current <u>local</u> ingame time in hours.  


| [[skipTime]] |= See also
| [[skipTime]] [[time]] |= See also


}}
}}

Revision as of 21:49, 23 August 2009

Hover & click on the images for description

Description

Description:
Returns the current ingame time in hours.
Multiplayer:
Returns the current local ingame time in hours.
Groups:
Uncategorised

Syntax

Syntax:
Number = daytime
Return Value:
Number - Time using a 24 hour clock.

Examples

Example 1:
; assumme it is 16:30
_daytime = daytime
returns 16.5

Additional Information

See also:
skipTime time

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