daytime: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Command|= Comments | |||
____________________________________________________________________________________________ | |||
| ofp |= Game name | |||
|1.00|= Game version | |||
____________________________________________________________________________________________ | |||
| Returns the current ingame time in hours. |= Description | |||
____________________________________________________________________________________________ | |||
''' | | '''daytime''' |= Syntax | ||
| [[Number]] - | |||
Time in decimal writing. |= Return value | |||
____________________________________________________________________________________________ | |||
|x1= <pre>; assumme it is 16:30 | |||
_daytime = daytime</pre> | |||
returns 16.5 |= Example 1 | |||
____________________________________________________________________________________________ | |||
[[ | | [[skipTime]] |= See also | ||
}} | |||
<h3 style="display:none">Notes</h3> | |||
<dl class="command_description"> | |||
<!-- Note Section BEGIN --> | |||
<!-- Note Section END --> | |||
</dl> | |||
<h3 style="display:none">Bottom Section</h3> | |||
[[Category:Scripting Commands|DAYTIME]] | |||
[[Category:Scripting Commands OFP 1.96|DAYTIME]] | |||
[[Category:Scripting Commands OFP 1.46|DAYTIME]] | |||
[[Category:Scripting Commands ArmA|DAYTIME]] |
Revision as of 23:40, 1 August 2006
Description
- Description:
- Returns the current ingame time in hours.
- Groups:
- Uncategorised
Syntax
- Syntax:
- daytime
- Return Value:
- Number - Time in decimal writing.
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