Difference between revisions of "Complete Example Scripts"

Jump to navigation Jump to search
No change in size ,  18:55, 1 May 2013
m
imported>JustinOther
imported>JustinOther
m (→‎Enable/Disable an object on a schedule: Oops. Wrong day of week.)
Line 757: Line 757:
If bEnableStuff != (fTime > fHourToEnable && fTime < fHourToDisable)
If bEnableStuff != (fTime > fHourToEnable && fTime < fHourToDisable)
bEnableStuff = !bEnableStuff
bEnableStuff = !bEnableStuff
If bEnableStuff && GetDayOfWeek() == 5 ; Fredas
If bEnableStuff && GetDayOfWeek() == 5 ; Turdas
kYourObject.Enable()
kYourObject.Enable()
Else
Else
Anonymous user

Navigation menu