Estroya Posted March 22, 2015 Share Posted March 22, 2015 (edited) Hey everyone i have a problem with my custom bookshelves. At first i had the bug that additional places were created when I took a book directly from the shelf. To fix that i copied the PlayerBookShelfTriggerScript and deleted this two lines from the copied version, like it was recommended in another topic. (Shelfcontainer as PlayerBookShelfContainerScript).CurrentBookAmount = (Shelfcontainer as PlayerBookShelfContainerScript).CurrentBookAmount - 1(ShelfContainer as PlayerBookShelfContainerScript).RemoveBooks((TriggerRef.GetBaseObject()), 1) Now the shelf counts the number of free places right, but now every third time when i activate the shelf all books are deleted. I just removed the vanilla triggerscript from the trigger and added my version with the deleted lines to it. Now how can i get it that the bug with the additional places is fixed without that the books become deleted? Edited March 22, 2015 by Estroya Link to comment Share on other sites More sharing options...
Recommended Posts