dietplums Posted April 18, 2019 Posted April 18, 2019 Iâve placed a custom container in the game world and placed custom items in them but when I go in game to get the items out of the container my game freezes. I tried following a Skyrim tutorial which stated that you needed to add a script to the custom item (I followed the tutorial all the way through but when I try to get the items out of the chest the game freezes) hereâs the script: Event OnContainerChanged(ObjectReference newContainer, ObjectReference oldContainer) if (newContainer == Game.GetPlayer()) debug.messagebox("You have the ingot") endif Endevent I changed the ingot part, Iâm stumped and I canât find any tutorials online
ajs52698 Posted May 17, 2019 Posted May 17, 2019 Anytime a crash like that occurs its because something is setup incorrectly. My advice, take a step back and do 1 thing at a time. Create a chest, see if you can open it. Then create the weapon, see if you can drop it or pick it up. If the weapon has a custom model, it could be a problem with the NIF. Scripts shouldn't be needed for what you want to do.
Korodic Posted May 22, 2019 Posted May 22, 2019 Probably isnt the contained, it likely is a model issue as ajs has stated. I once worked on adding fries to the game and it would crash until changes were made for the model to work, I dont recall what specifically was done though.
Recommended Posts