User:PROXiCiDE/CreateStaticBook
< User:PROXiCiDE
Jump to navigation
Jump to search
Revision as of 21:16, 21 January 2013 by imported>PROXiCiDE (Created page with "== Creating Readable Static Book == The following requires you have knowledge of creating Activators, what this does is allows you to read a book from a placed Activator so th...")
Creating Readable Static Book
The following requires you have knowledge of creating Activators, what this does is allows you to read a book from a placed Activator so that it does not require it to be in the Players Inventory
Book Property pBook Auto
Event OnActivate(ObjectReference akActionRef)
ObjectReference pBookRef = Game.GetPlayer().PlaceAtMe(pBook, abInitiallyDisabled = true)
if pBookRef != none
pBookRef.Activate(Game.GetPlayer())
pBookRef.Delete()
endif
EndEvent