Difference between revisions of "Complete Example Scripts"

Jump to navigation Jump to search
4 bytes removed ,  19:43, 25 April 2013
m
imported>JustinOther
m (→‎Enable/Disable an object on a schedule: Oops. Had renamed function and missed an instance)
imported>JustinOther
Line 765: Line 765:
EndFunction
EndFunction


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 ((GetFormFromFile(0x00000039, "Skyrim.ESM") As GlobalVariable).GetValue() As Int) % 7
EndFunction</source>
EndFunction</source>
Anonymous user

Navigation menu