SetRefCount

< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Sets the number of items in a stack of items in the world. Note that 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.

Syntax

ref.SetRefCount NewCount:int

Example

SomeAmmoClipREF.SetRefCount 30

See Also