SetMinutesAfterMidnight (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>Emess No edit summary |
>ArceusInator example |
||
Line 5: | Line 5: | ||
|object = Lighting | |object = Lighting | ||
}}</onlyinclude> | }}</onlyinclude> | ||
{{Example|<pre>game.Lighting:SetMinutesAfterMidnight( 840 ) | |||
-- Would essentialy be the same as | |||
game.Lighting.TimeOfDay = "14:00:00" | |||
-- Because | |||
print( 840 / 60 ) --> 14 | |||
-- Understand?</pre>}} | |||
[[Category:Methods]] | [[Category:Methods]] |
Revision as of 04:23, 30 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 ) -- Would essentialy be the same as game.Lighting.TimeOfDay = "14:00:00" -- Because print( 840 / 60 ) --> 14 -- Understand?