Difference between revisions of "User:Rasikko"

Jump to navigation Jump to search
13 bytes added ,  13:57, 29 March 2020
imported>Rasikko
imported>Rasikko
Line 193: Line 193:
<source lang="papyrus">
<source lang="papyrus">
Int Function GetCurrentMoonPhase()
Int Function GetCurrentMoonPhase()
Float fGameDaysPassed = Game.GetFormFromFile(0x00000039, "Skyrim.esm") as GlobalVariable
Float fGameDaysPassed = (Game.GetFormFromFile(0x00000039, "Skyrim.esm") as GlobalVariable).GetValue()


return (((228 + fDaysPassed) % 24) / 3) as int
return (((228 + fDaysPassed) % 24) / 3) as int
Anonymous user

Navigation menu