AuxiliaryVariableGetType

From GECK
Jump to: navigation, search


A function added by the JIP NVSE Plugin.

Description

Returns the value-type of the element at the specified index (optional; default is 0) of the specified Auxiliary-Variable.

Value Types:

0	None (no such index/variable not defined)
1	Float
2	Reference
4	String

Syntax

[help]
(type:int) reference.AuxiliaryVariableGetType varName:string index:int baseForm:ref 

Or:

(type:int) reference.AuxVarType varName:string index:int baseForm:ref

Example

set iType to RaulRef.AuxiliaryVariableGetType "someVarName"
set iType to AuxVarType "someVarName" 2 ArmorCombat