I need to know how to label the book so that it's selectable from the dropdown list of keys in the menu for the door. If anyone can help out, that'd be great. Thanks in advance, especially if this turns out to be a stupid question.
ScriptName bookiskey extends TrapTriggerBaseobjectReference property door01 autobook property bookkey autoEvent onTriggerEnter(objectReference triggerRef)if (Game.GetPlayer().GetItemCount(bookkey) == 1) ; check to see the player has the bookdoor01.unlock() ;unlocks the doorDebug.Notification("You have used a book to open the door") ; tells the player what he/she did with the bookendifendeventScriptName bookiskey extends TrapTriggerBaseobjectReference property door01 autobook property bookkey autoScene property readbook autoEvent onTriggerEnter(objectReference triggerRef)if (Game.GetPlayer().GetItemCount(bookkey) == 1) ; check to see the player has the bookreadbook.Start() ;plays the animation and dialogueutility.wait(1) ;wait for the scene to finish before unlocking the door and telling the player he has opened the door.door01.unlock() ;unlocks the doorDebug.Notification("You have used a book to open the door") ; tells the player what he/she did with the bookendifendevent
