Complete Example Scripts: Difference between revisions
Jump to navigation
Jump to search
m
→Enable/Disable an object on a schedule: 5 : Turdas
imported>JustinOther m (→Enable/Disable an object on a schedule: Oops. Wrong day of week.) |
imported>JustinOther m (→Enable/Disable an object on a schedule: 5 : Turdas) |
||
| Line 765: | Line 765: | ||
EndFunction | EndFunction | ||
Int Function GetDayOfWeek() Global ; 0 : Sundas :: | Int Function GetDayOfWeek() Global ; 0 : Sundas :: 5 : Turdas, etc. | ||
Return ((Game.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> | ||