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...") |
|||
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 hours | |
− | + | | p2t = [''int2''] | |
− | + | | p2d = Game minutes | |
− | + | | 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 stores the number of minutes between the [[00BF|current time]] and the time specified with the ''int'' parameters to the variable. | ||
Line 23: | Line 21: | ||
* [[00BF]] – gets time of day | * [[00BF]] – gets time of day | ||
* [[00C0]] – sets time of day | * [[00C0]] – sets time of day | ||
− | |||
− |
Revision as of 23:31, 19 November 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 hours
- [int2]
- Game minutes
- [var]
- Variable to store number of minutes
- Native analog
- GET_MINUTES_TO_TIME_OF_DAY
This 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