lynix112 Posted August 11, 2012 Share Posted August 11, 2012 To put it simply. I want to be able to add a custom perk to the player by book. Either this or add a recipe via a book. Both will work. Link to comment Share on other sites More sharing options...
MTichenor Posted August 11, 2012 Share Posted August 11, 2012 I've never done this myself, so I can't verify that this technique works. However, it should be trivial. Attach a script that extends ObjectReference to the book object in Creation Kit. It should contain the following Event code: Perk Property NewPerk Auto Event OnRead() Game.GetPlayer().AddPerk( NewPerk ) EndEvent Once you have attached it to the book, then click the scripts properties, and fill in the NewPerk property with the EditorID of the perk you want to provide. Link to comment Share on other sites More sharing options...
lynix112 Posted August 12, 2012 Author Share Posted August 12, 2012 (edited) Nah that didn't work. I'm not sure why the script compiles fine and from what I can tell really should work but the perk just wont add. Edit: Nevermind the above the script works perfectly I just had to edit it manually since the creation kit was putting '{' and '}' everywhere. once the script was fixed and written correctly it worked fine Edited August 12, 2012 by lynix112 Link to comment Share on other sites More sharing options...
Recommended Posts