daytime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(add. classification)
m (VBS2 scripting category removal)
Line 45: Line 45:
[[Category:Command_Group:_Mission_Information|DAYTIME]]
[[Category:Command_Group:_Mission_Information|DAYTIME]]
[[Category:Command_Group:_Environment|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Environment|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands VBS2|{{uc:{{PAGENAME}}}}]]

Revision as of 06:11, 19 July 2011

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:
datedateToNumbertimeskipTime

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