Aklis Posted April 28, 2017 Share Posted April 28, 2017 I gave this a shot on my own but I didn't have any luck, so if anyone has any ideas I would be most grateful. I've been working with the FriendoftheNightQuestScript found in the Realistic Wasteland Lighting plugin which looks a bit different from the vanilla version: scn FriendOfTheNightQuestScript short bFOTNNightInEffect ; toggle for when FOTN is in effect. 1 = yes. short bFOTNInteriorInEffect ; toggle for when FOTN is in effect. 1 = yes. Begin GameMode ; JSH 8/11 Don't do effects if the end slide show is in progress if Player.HasPerk FriendOfTheNight == 0 RemoveImageSpaceModifier FriendOfTheNightISFX RemoveImageSpaceModifier FriendOfTheNightInteriorISFX StopQuest FriendOfTheNightQuest return elseif player.GetInCell Endgame || (GetPlayerControlsDisabled 1 0 0 0 0 0 0 && GetPlayerControlsDisabled 0 0 0 0 0 1 0) ;//== Movement and hud disabled, almost always means its a slideshow RemoveImageSpaceModifier FriendOfTheNightISFX RemoveImageSpaceModifier FriendOfTheNightInteriorISFX return endif If Player.IsInInterior == 1 set bFOTNNightInEffect to 0 set bFOTNInteriorInEffect to 1 If IsImageSpaceActive FriendOfTheNightISFX == 1 RemoveImageSpaceModifier FriendOfTheNightISFX Endif If IsImageSpaceActive FriendOfTheNightInteriorISFX == 0 ApplyImageSpaceModifier FriendOfTheNightInteriorISFX Endif Elseif (GetCurrentTime >= 21.15 || GetCurrentTime <= 5.15) set bFOTNNightInEffect to 1 set bFOTNInteriorInEffect to 0 If IsImageSpaceActive FriendOfTheNightInteriorISFX == 1 RemoveImageSpaceModifier FriendOfTheNightInteriorISFX Endif If IsImageSpaceActive FriendOfTheNightISFX == 0 ApplyImageSpaceModifier FriendOfTheNightISFX Endif Else If bFOTNNightInEffect == 1 RemoveImageSpaceModifier FriendOfTheNightISFX set bFOTNNightInEffect to 0 Endif If bFOTNInteriorInEffect == 1 RemoveImageSpaceModifier FriendOfTheNightInteriorISFX set bFOTNInteriorInEffect to 0 Endif Endif End Link to comment Share on other sites More sharing options...
Recommended Posts