daytime: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (command has no effect. MP note covers localilty)
m (Added Arma2)
Line 42: Line 42:
[[Category:Scripting Commands OFP 1.46|DAYTIME]]
[[Category:Scripting Commands OFP 1.46|DAYTIME]]
[[Category:Scripting Commands ArmA|DAYTIME]]
[[Category:Scripting Commands ArmA|DAYTIME]]
[[Category:Scripting Commands ArmA2|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 07:40, 3 June 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

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