SetMerchantContainer

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

A command for Oblivion Script Extender

Syntax:

(oldContainerRef:ref) npc.SetMerchantContainer nuContainer:ref

Replaces the specified mechant's container and returns the old container.

Notes[edit | edit source]

  • If the specified NPC does not have a merchant container, or if the passed reference is not a container the function does nothing and will return 0.

See Also[edit | edit source]