GetMoonPhase (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>WildSurvival
Small capitalization error
>SoulStealer9875
No edit summary
Line 10: Line 10:
{{Example|<pre>
{{Example|<pre>
print( game.Lighting:GetMoonPhase() ) --> 0.75
print( game.Lighting:GetMoonPhase() ) --> 0.75
</pre>}}
You can print the moon phase's value by doing this,
{{Example|<pre>
print( game.Lighting:GetMoonPhase() + 5 ) --> 5.75
</pre>}}
</pre>}}


==Notes==
==Notes==


* The phase seems to always be 0.75.
* The phase will always be 0.75.
* The phase appears to be, at current, unchangeable.  
* You cannot change the moon's phase at current.


[[Category:Methods]]
[[Category:Methods]]

Revision as of 18:12, 9 July 2011

GetMoonPhase( )
Returns Number phase
Description: Returns the phase of the moon.
Member of: Lighting


Example
print( game.Lighting:GetMoonPhase() ) --> 0.75


You can print the moon phase's value by doing this,

Example
print( game.Lighting:GetMoonPhase() + 5 ) --> 5.75


Notes

  • The phase will always be 0.75.
  • You cannot change the moon's phase at current.