Ranokoa Posted December 19, 2009 Share Posted December 19, 2009 I can't find the script that is used to put all of the player's belongings in the evidence chest when they are jailed. Can someone tell me what it is? or just write me a script that does this: Begin OnActivateremoves all possessions to specific chest Need it to finish one of my "getting dusty in the closet of mods" mod. My scripting skill is very limited and i have NO idea how to do this one aside from simply removing everything they have permanently. Its a training grounds mod and they should not be allowed to take their possessions with them, but I can't do it without this. I was thinking of just editing the prison script to do this. Guess I still can, but it would be easier if it were specifically only this. Thanks. Link to comment Share on other sites More sharing options...
Pronam Posted December 19, 2009 Share Posted December 19, 2009 It's hardcoded, that's why you don't see it.Removing items to a chest is simple, but it all depends on what you're looking for.Removing all items: RemoveAllItemsRemoving one item: RemoveMe Link to comment Share on other sites More sharing options...
Ranokoa Posted December 19, 2009 Author Share Posted December 19, 2009 Hmmm.. I wonder.. since the training ground is actually the players "soul" removing the items is a must, but, is there a way to add all of the items back to the player FROM the chest that the items were removed to? Its ganna be a spell thing:Cast it, your items are removed, and you are teleported to your "soul"Certain clothing is auto-equiptedAn activator will be used to send them back "out of their soul", and the added items will be removed, but the previously removed items will be given back. Its all a facade, an illusion, so is there a way to autogive all the items in a specific container back to the player? Link to comment Share on other sites More sharing options...
Peppez Posted December 19, 2009 Share Posted December 19, 2009 Hmmm.. I wonder.. since the training ground is actually the players "soul" removing the items is a must, but, is there a way to add all of the items back to the player FROM the chest that the items were removed to? Its ganna be a spell thing:Cast it, your items are removed, and you are teleported to your "soul"Certain clothing is auto-equiptedAn activator will be used to send them back "out of their soul", and the added items will be removed, but the previously removed items will be given back. Its all a facade, an illusion, so is there a way to autogive all the items in a specific container back to the player? Well, I could hardly be considered a scripter, but couldn't you just make a ref to the Chest and use, Chest.RemoveAllItems Player? Link to comment Share on other sites More sharing options...
Ranokoa Posted December 19, 2009 Author Share Posted December 19, 2009 .... That... suprisingly makes sense... So much sense that it didn't make sense to think of it before, because generally visa is not always going to work versa in scripting.. but.. it makes sense. Ill try that. Thanks! Link to comment Share on other sites More sharing options...
Peppez Posted December 19, 2009 Share Posted December 19, 2009 .... That... suprisingly makes sense... So much sense that it didn't make sense to think of it before, because generally visa is not always going to work versa in scripting.. but.. it makes sense. Ill try that. Thanks! Lol, no problem :D Link to comment Share on other sites More sharing options...
Recommended Posts