basvanbeu Posted April 1, 2012 Share Posted April 1, 2012 HiIm new to skyrim scripting and have problem with simple script that is going to add an item to the players inventory when he starts his game.In Oblivion there was GameMode. Here it is Event. Event seems smarter, better but also harder.. My question is what kind of Event should I have on this one ? This is how my simple script looks: Scriptname RM1964DialogueScript int RMCount Event SOMETHING RMCount = 0 If RMCount == 0 Game.GetPlayer().AddItem(RM1964NordPassport, 1, false) RMCount = RMCount +1 EndIfEndEvent Link to comment Share on other sites More sharing options...
scrivener07 Posted April 1, 2012 Share Posted April 1, 2012 http://www.creationkit.com/OnInit should do the trick. Im a little fuzzy on the details but I dont think your RMcount will store its value between game sessions. If you only want your script to run once ever try modifying a persistent global value. I could be wrong, just test it. Link to comment Share on other sites More sharing options...
Recommended Posts