ZoumeyZ Posted March 15, 2014 Share Posted March 15, 2014 Hello !I'm making my first mod , and i've been stuck for quite a while now. I'm making a briefcase that let you go in casinos with weapons that weight less than 10 lb.the briefcase being a weapon , when you take it and "fire" it , it should open an inventory where you can store a weapon. but , how can i do that ? shouldn't the inventory be from a container or a NPC in the cell the player is in ? is there a way around it ? thank for your help ! :smile: Link to comment Share on other sites More sharing options...
jazzisparis Posted March 15, 2014 Share Posted March 15, 2014 The container doesn't have to be in the same cell where the player is.You can create an empty interior cell and place the container there. Give the container a unique Reference ID and tick the Persistent Reference box.You can then access the container remotely, from anywhere, by "activating" it via a script. It would be more suitable to use a clothing item with no Biped Object, and attach a script to it that will fire whenever the player equips this item. The script should look something like this: scn HoldoutBriefcaseScript begin OnEquip player ContainerRefID.Activate player player.UnequipItem BriefcaseEditorID end Link to comment Share on other sites More sharing options...
ZoumeyZ Posted March 15, 2014 Author Share Posted March 15, 2014 Now THAT was quick ! thank a lot , that will be very useful ! Link to comment Share on other sites More sharing options...
Recommended Posts