daytime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (VBS2 scripting category removal)
mNo edit summary
Line 43: Line 43:
[[Category:Scripting Commands ArmA|DAYTIME]]
[[Category:Scripting Commands ArmA|DAYTIME]]
[[Category:Scripting Commands ArmA2|DAYTIME]]
[[Category:Scripting Commands ArmA2|DAYTIME]]
[[Category:Scripting_Commands_Arma_3|DAYTIME]]
[[Category:Command_Group:_Mission_Information|DAYTIME]]
[[Category:Command_Group:_Mission_Information|DAYTIME]]
[[Category:Command_Group:_Environment|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Environment|{{uc:{{PAGENAME}}}}]]

Revision as of 11:48, 4 May 2013

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