SetRefCount


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.

NoteEdit

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