Difference between revisions of "00C1"
Jump to navigation
Jump to search
m |
|||
Line 5: | Line 5: | ||
| syntax1 = 00C1: [''var''] = get_minutes_left_to_time_hours [''int1''] time_minutes [''int2''] | | syntax1 = 00C1: [''var''] = get_minutes_left_to_time_hours [''int1''] time_minutes [''int2''] | ||
| p1t = [''int1''] | | p1t = [''int1''] | ||
− | | p1d = Game | + | | p1d = Game hour |
| p2t = [''int2''] | | p2t = [''int2''] | ||
− | | p2d = Game | + | | p2d = Game minute |
| p3t = [''var''] | | p3t = [''var''] | ||
| p3d = Variable to store number of minutes | | p3d = Variable to store number of minutes | ||
Line 13: | Line 13: | ||
}} | }} | ||
− | 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