ScriptName AlphaInit extends Actor Race Property GhoulRace Auto Const GlobalVariable Property GameHour Auto Const ObjectReference Property PositionGhoul Auto Const Event OnLoad() int hour = GameHour.GetValueInt() if hour < 7 Self.enable(False) Self.SetAlpha(0.4, False) elseif hour >= 7 && hour < 22 Self.SetAlpha(1.0, False) Self.disable(False) endif EndEvent