Jump to content

Recommended Posts

Posted

Hey, I've searched around for a while for answer to this, but cannot find it anywhere. It's possibly quite a simple / stupid question but here goes.

 

I've basically created my mod, and successfully created a configuration book to allow users to tweak it to their liking. Now I am ready to publish, for one small issue....How do I get the book to be in the player's inventory once they install the mod?

 

 

Help would be much appreciated.

 

Thank you!

Posted

Do you have any scripts in your mod? Perhaps on a quest? If so, add the following to the OnInit() event

 

PlayerRef.AddItem(YourItem,1)

 

Where PlayerRef is a reference to the player character set up as a property such as Actor Property PlayerRef Auto

Where YourItem is a reference to your object set up as a property such as Book Property YourItem Auto

  • Recently Browsing   0 members

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