OnRead - ObjectReference

From the Fallout4 CreationKit Wiki
Revision as of 16:29, 9 October 2013 by imported>DarkruneDK
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ObjectReference Script

Event received when this the player activates a book object in the world, or "equips" it from their inventory. In other words, it is sent when the book UI opens a book.

Syntax[edit | edit source]

Event OnRead()

Parameters[edit | edit source]

None.

Examples[edit | edit source]

Event OnRead()
  Debug.Trace("The player's life is now enriched!")
endEvent

See Also[edit | edit source]