AuxiliaryVariableErase

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Erases the element at the specified index of the specified Auxiliary-Variable. If index is not specified, or equals -1, the variable, along with all its elements, will be erased.

Syntax

[help]
(numElements:int) reference.AuxiliaryVariableErase varName:string index:int baseForm:ref 

Or:

(numElements:int) reference.AuxVarErase varName:string index:int baseForm:ref

Example

RaulRef.AuxiliaryVariableErase "someVarName"
AuxVarErase "someVarName" 2 ArmorCombat

Notes

  • The function returns the variable's new number of elements.

See Also