AuxiliaryVariableGetSize

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns the number of elements of the specified Auxiliary-Variable (or 0 if the variable is not defined).

Syntax

[help]
(size:int) reference.AuxiliaryVariableGetSize varName:string baseForm:ref 

Or:

(size:int) reference.AuxVarSize varName:string baseForm:ref

Example

set iSize to RaulRef.AuxiliaryVariableGetSize "someVarName"
set iSize to AuxVarSize "someVarName" ArmorCombat