Jump to content

Quick Container Question


Halstrom

Recommended Posts

Posted

How do I add a Levelled list to a container by script?

 

VendorContainerDocMitchell.AddItem VendorContainerDocMitchell SexoutSLLDisease50 1 1

AddItemToLeveledList VendorContainerDocMitchell SexoutSLLDisease50 1 1 100

 

don't work

Posted

Dunno, but that second VendorContainerDocMitchell in your first line should probably not be there.

Yep that was silly no dice thought

 

VendorContainerDocMitchell.AddItem SexoutSLLDisease50 1 1

 

fails :/

Posted

Is that container the ref or the base?

Good thought, just tried that and although it is inworld it doesn't have a REF, I might have to just add it the GECK way for now, though I wanted to be able to not add them for people not using Diseases/Drugs/Preg, can't see anything in NVSE either to do it.

Posted

I'm not even sure that container is used for Doc M. It does have a ref but it's in a dummy cell, unnamed, no ownership set... In contrast with Cliff Briscoe's chest, for instance.

You're probably better off script-adding the leveled list to a new container parked beneath his own cell, with ownership set.

Posted

You need a permanent ref to access the ref from an ESM script.

If the reference is not named it should be accessible via it's ID (IF it is part of the ESM at 00) like "00177BEF".AddItem ...

Posted

Thanks jaam, that certainly looks like the case I did a work around with Levelled lists switched by globals that I think will do the trick, but I'll give it a go again by scripting over the weekend.

Archived

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

  • Recently Browsing   0 members

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