SetMinutesAfterMidnight (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>ArceusInator example |
>Camoy No edit summary |
||
Line 1: | Line 1: | ||
<onlyinclude>{{Method|name = SetMinutesAfterMidnight | <onlyinclude>{{Method | ||
|name = SetMinutesAfterMidnight | |||
|arguments = [[number]] '''minutes''' | |arguments = [[number]] '''minutes''' | ||
|description = Sets the amount of minutes that have passed after midnight. | |description = Sets the amount of minutes that have passed after midnight. | ||
|object = Lighting | |object = Lighting | ||
}}</onlyinclude> | }}</onlyinclude> | ||
{{clear floats}} | |||
{{Example|<pre> | |||
game.Lighting:SetMinutesAfterMidnight( 840 ) </pre> Which is equal to... <pre> | |||
game.Lighting.TimeOfDay = "14:00:00"</pre> Because... <pre> | |||
print( 840 / 60 ) --> 14</pre>}} | |||
{{Example|<pre>game.Lighting:SetMinutesAfterMidnight( 840 ) | |||
game.Lighting.TimeOfDay = "14:00:00" | |||
print( 840 / 60 ) --> 14 | |||
[[Category:Methods]] | [[Category:Methods]] |
Revision as of 14:02, 31 December 2010
SetMinutesAfterMidnight( number minutes ) | |
Returns | nil |
Description: | Sets the amount of minutes that have passed after midnight. |
Member of: | Lighting |
Example
game.Lighting:SetMinutesAfterMidnight( 840 )Which is equal to...
game.Lighting.TimeOfDay = "14:00:00"Because...
print( 840 / 60 ) --> 14