Difference between revisions of "Complete Example Scripts"
Jump to navigation
Jump to search
m
→Enable/Disable an object on a schedule: Typo
imported>JustinOther m (→Enable/Disable an object on a schedule: Oops. Had renamed function and missed an instance) |
imported>JustinOther m (→Enable/Disable an object on a schedule: Typo) |
||
Line 765: | Line 765: | ||
EndFunction | EndFunction | ||
Int Function GetDayOfWeek() Global | Int Function GetDayOfWeek() Global ; 0 : Sundas :: 5 : Turdas, etc. | ||
Return ((GetFormFromFile(0x00000039, "Skyrim.ESM") As GlobalVariable).GetValue() As Int) % 7 | Return ((GetFormFromFile(0x00000039, "Skyrim.ESM") As GlobalVariable).GetValue() As Int) % 7 | ||
EndFunction</source> | EndFunction</source> |