SetRefCount

From The Elder Scrolls Construction Set Wiki


A command for Oblivion Script Extender

Syntax:

(nothing) reference.SetRefCount newCount:short

Sets the number of items in a stack of items in the game world.

Note

  • While this function will change the count of any type of reference, it may have unpredictable results when used on references like NPCs which are not logically stackable.

See Also

Personal tools