Difference between revisions of "00BF"
Jump to navigation
Jump to search
(Created page with "{{Icon|trilogy}} '''GET_TIME_OF_DAY''' <hr /> '''Description''' : Gets the current game time '''Syntax''' :00BF: [''var 1''] = current_time_hours, [''var 2''] = current_time_m...") |
m |
||
Line 19: | Line 19: | ||
== See also == | == See also == | ||
− | * [[00C0]] – | + | * [[00C0]] – sets time of day |
* [[00C1]] – gets minutes left to time | * [[00C1]] – gets minutes left to time | ||
* [[Real Time Clock]] | * [[Real Time Clock]] | ||
[[Category:OpCodes]] | [[Category:OpCodes]] |
Revision as of 18:45, 12 February 2015
Description
- Gets the current game time
Syntax
- 00BF: [var 1] = current_time_hours, [var 2] = current_time_minutes
Parameter
- [var 1]
- Variable to store game hours value
- [var 2]
- Variable to store game minutes value
Native analog
This stores the values of the current game hours and minutes to the variables. The hours are from 0 to 23 and the minutes are from 0 to 59.
Keywords
get, current, time, clock
See also
- 00C0 – sets time of day
- 00C1 – gets minutes left to time
- Real Time Clock