Jump to content

Remove player item to chest


Ranokoa

Recommended Posts

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 OnActivate

removes 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

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-equipted

An 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

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-equipted

An 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

.... 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

.... 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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...