Jump to content

how to add a perk with a book


lynix112

Recommended Posts

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

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 by lynix112
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...