AuxiliaryVariableErase

From GECK
Jump to: navigation, search


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.

Returns the Aux Variable's new number of elements, NOT the amount of elements that were 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 

See Also