Ohurzand Posted June 11, 2011 Share Posted June 11, 2011 (edited) Hey all, new to the forums and modding, and I need some help with a script. Basically, all I want to happen is for the message to appear once the PC is above Rank 3 in the Dark Brotherhood, and is asleep, like the vampire dreams and level up messages. Here's the script: ScriptName aaaaPathofSithisBegin GameModeIf Player.GetFactionRank Darkbrotherhood > 3 IsPCSleeping == 1 MessageBox "You stare into a black void, floating in nothing. You sense a great presence approach, and know that the Great Lord Sithis is near. He has chosen you as his servant. As the Night Mother has the Listener, so Sithis has you."EndifEnd Not sure what I've done wrong, but nothing happens once I'm a Silencer and I rest. It might be "If Player.GetFactionRank Darkbrotherhood > 3" Because I had a lot of error messages when I had that as a nested if statement. Anyway, any help would be greatly appreciated! Thanks! Edited June 11, 2011 by Ohurzand Link to comment Share on other sites More sharing options...
EnterSevenSeven Posted June 11, 2011 Share Posted June 11, 2011 (edited) This should work. You had to include IsPCSleeping in the condition check. I also added a doOnce variable that will make it run only once when the player achieves that rank. ScriptName aaaaPathofSithis short doOnce Begin GameMode If Player.GetFactionRank Darkbrotherhood > 3 && IsPCSleeping == 1 && doOnce == 0 MessageBox "You stare into a black void, floating in nothing. You sense a great presence approach, and know that the Great Lord Sithis is near. He has chosen you as his servant. As the Night Mother has the Listener, so Sithis has you." set doOnce to 1 Endif End Edited June 11, 2011 by Enter_77 Link to comment Share on other sites More sharing options...
Ohurzand Posted June 14, 2011 Author Share Posted June 14, 2011 Alright, thanks very much for helping me out! Link to comment Share on other sites More sharing options...
Recommended Posts