Book Property inheritance from the book opened in the invent

Post » Tue Jun 19, 2012 6:03 am

Hi :smile:

Can you tell me how you can get the ID of the book read in an OnRead() event?
What I mean: There's a book with an ID of PerkTomeAlchemyAlchemist1 and I want is this ID to be called by a script part into the script so that I can manipulate this specific book in the inventory while the script is running.
I tried a couple of ways of using GetBaseObject, but it just doesn't seem to work.

I can manually choose the property for the script, but I don't want to do it for ~150-200 books :\

Also, is there a way to get the NAME and not the id of something as a string in the script? Like for displaying the given name of the book in a message box or something?

Many many thanks in advance.
User avatar
Roisan Sweeney
 
Posts: 3462
Joined: Sun Aug 13, 2006 8:28 pm

Post » Mon Jun 18, 2012 8:09 pm

Anyone, please? :blush:
Am I asking the wrong questions? :D
User avatar
BRAD MONTGOMERY
 
Posts: 3354
Joined: Mon Nov 19, 2007 10:43 pm


Return to V - Skyrim