Difference between revisions of "00C1"
Jump to navigation
Jump to search
(Created page with "{{Icon|trilogy}} '''GET_MINUTES_TO_TIME_OF_DAY''' <hr /> '''Description''' : Gets number of minutes left to time of day '''Syntax''' : 00C1: [''var''] = get_minutes_left_to_ti...") |
m |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{OpCode |
− | + | | games = {{icon|t}} | |
− | + | | command = GET_MINUTES_TO_TIME_OF_DAY | |
− | + | | description = Gets number of minutes left to time of day | |
− | + | | syntax1 = 00C1: [''var''] = get_minutes_left_to_time_hours [''int1''] time_minutes [''int2''] | |
− | + | | p1t = [''int1''] | |
− | + | | p1d = Game hour | |
− | + | | p2t = [''int2''] | |
− | + | | p2d = Game minute | |
− | + | | p3t = [''var''] | |
− | + | | p3d = Variable to store number of minutes | |
− | + | | native = [[GET_MINUTES_TO_TIME_OF_DAY]] | |
− | + | }} | |
− | |||
− | |||
− | This stores the number of minutes between the [[00BF|current time]] and the time specified with the ''int'' parameters to the variable. | + | This opcode stores the number of minutes between the [[00BF|current time]] and the time specified with the ''int'' parameters to the variable. |
− | ==Keywords== | + | == Keywords == |
get, minutes, current, time, clock | get, minutes, current, time, clock | ||
== See also == | == See also == | ||
− | * [[00BF]] | + | * {{Icon|t}} [[00BF]], gets time of day |
− | * [[00C0]] | + | * {{Icon|t}} [[00C0]], sets time of day |
− | |||
− |
Latest revision as of 07:21, 6 December 2016
- Description
- Gets number of minutes left to time of day
- Syntax
- 00C1: [var] = get_minutes_left_to_time_hours [int1] time_minutes [int2]
- Parameter
- [int1]
- Game hour
- [int2]
- Game minute
- [var]
- Variable to store number of minutes
- Native analog
- GET_MINUTES_TO_TIME_OF_DAY
This opcode stores the number of minutes between the current time and the time specified with the int parameters to the variable.
Keywords
get, minutes, current, time, clock