Jump to content

quick inventory reference question


dwarf99

Recommended Posts

I have a nudespell mod that references the object UEA Container1, if I understand the scripting correctly it removes the target's items to UEA Container1 and I was wondering: if I change all instances of "UEA Container1" to "MS05PlayerInventory" would that then make all the items go to the player's inventory, or would it delete the items in the player's inventory and replace them with the target's items, or does anyone know right off hand?

 

sorry if I rambled on too nuch

Link to comment
Share on other sites

you would need to post the script to get a definite answer, but by what you said, It is possible that it puts them in the players inventory without effecting whats already there.

 

But you need to post the script, In a codebox is best.

Link to comment
Share on other sites

you would need to post the script to get a definite answer, but by what you said, It is possible that it puts them in the players inventory without effecting whats already there.

 

But you need to post the script, In a codebox is best.

 

 

I am not sure how to do it in a codebox but here goes

 

ScriptName UnEquipAll

 

Begin ScriptEffectStart

 

SetCallerObj to GetSelf

 

RemoveAllItems UEAContainer1, 1

UEAContainer1.RemoveAllItems CallerObj,1

 

End

Link to comment
Share on other sites

I think it would work, but you should wait for another person to confirm. (my scripting skill is low).

 

it sounds kinda familiar, did you modify the scripting for a certain daedric shrine quest involving a certain countess' dinner party?

Link to comment
Share on other sites

Either that spell is meant to work with other scripting, or its whole purpose is to just move everything an NPC has to a container, then move everything in that container to the NPC. If you change the container reference, anything that was in the container would end up being sent to the NPC. MS05 is the dreamworld quest (I think), using that reference instead wouldn't really change anything unless you were using this nudespell in dreamworld while all your items are in that container. It wouldn't even allow you to take anything out of Dreamworld since your Dreamworld inventory gets removed and your items sent from that container to the player when the quest is completed... Making it a rather bad idea to use the spell in Dreamworld. What exactly do you want to do here?
Link to comment
Share on other sites

Then that would be something like

 

ScriptName UnEquipAll

Begin ScriptEffectStart

Set CallerObj to GetSelf

callerobject.RemoveAllItems Player, 1

End

This however will retain the NPCs ownership of those items, and can be game breaking if used on NPCs which have special inventory items. Rather than using a mod to look at naked people, you might just want to use the internet for the use that it was intended, and just browse google's image database for "breasts" or "sex"... It requires a bit less effort and makes you look slightly less pathetic.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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