Jump to content

tying a container to a leveled list


Zuzaski

Recommended Posts

In a mod I'm working on, I want to make what's in a container control what is in a leveled list so I can change easily, ingame, what outfit and gun a certain NPC will use without having direct access to said NPC

ie;

I put stuff in box

NPC wears stuff in box

 

but NPC has no reference; it's spawned, so leveled list is the only way?

 

RemoveAllItems unfortunately cannot edit a list

 

what script command would I use on an activator that does the job?

vanilla or obse; doesn't matter as long as it works

 

 

edit

nevermind

found a way:

 

ref self getself

 

Begin OnLoad

self.removeallitems

 

boxREF.duplicateallitems self 1

 

end

Link to comment
Share on other sites

  • Recently Browsing   0 members

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