Jump to content

[LE] Anyway to make a script fire when 'any' book is read?


Baaleos

Recommended Posts

 

Extra:

 

I have tested this and it works. If you want to catch books the player reads from their inventory, OnObjectEquipped fires for that. Attach this script to the player somehow and test it.

 

Event OnObjectEquipped(Form akBaseObject, ObjectReference akReference)
	if akBaseObject as Book
		Debug.Trace("This actor just equipped a book!")
	endIf
endEvent

Thanks for solving that for me.

Someone contacted me asking for assistance with getting their mod created.

They were on the verge of going through every book form adding a script to it, but this solution is much easier.

 

 

That will cause huge compatibility issues for sure(also way too time consuming).

Link to comment
Share on other sites

  • Recently Browsing   0 members

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