SetMerchantContainer

From The Elder Scrolls Construction Set Wiki

A command for Oblivion Script Extender

Syntax:

(oldContainerRef:ref) npc.SetMerchantContainer nuContainer:ref

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

[edit] Notes

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

[edit] See Also

Personal tools