Difference between revisions of "Complete Example Scripts"
Jump to navigation
Jump to search
m
→Enable/Disable an object on a schedule
imported>JustinOther m (→Enable/Disable an object on a schedule: Wording) |
imported>JustinOther |
||
Line 766: | Line 766: | ||
Int Function GetDayOfWeek() Global ; 0 : Sundas :: 5 : Turdas, etc. | Int Function GetDayOfWeek() Global ; 0 : Sundas :: 5 : Turdas, etc. | ||
Return ((GetFormFromFile(0x00000039, "Skyrim.ESM") As GlobalVariable).GetValue() As Int) % 7 | Return ((Game.GetFormFromFile(0x00000039, "Skyrim.ESM") As GlobalVariable).GetValue() As Int) % 7 | ||
EndFunction</source> | EndFunction</source> | ||
{{Languages}} | {{Languages}} | ||
[[Category: Papyrus]] | [[Category: Papyrus]] |