AuxiliaryVariableGetAsArray
From GECK
(Redirected from AuxVarGetAsArr)
A function added by the JIP NVSE Plugin.
Contents
Description
Returns an array_var containing all the values stored in the specified Auxiliary-Variable.
If you are making a patch for a script that is using AuxVar functions, and that patch is an ESM/ESP, the ESM/ESP will overwritte the Mod Index of the AuxVar is attached to, and the original script will lose access to the AuxVar. So if another script within the master plugin is attempting to check the AuxVar, it will not be able to, as the Mod Index has now been overwritten.
Syntax
(values:array_var) reference.AuxiliaryVariableGetAsArray varName:string baseForm:ref
Or:
(values:array_var) reference.AuxVarGetAsArr varName:string baseForm:ref
Example
let aValues := RaulRef.AuxiliaryVariableGetAsArray "someVarName"
let aValues := AuxVarGetAsArr "someVarName" ArmorCombat