AuxiliaryVariableGetFloat
Revision as of 23:12, 24 April 2015 by imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Returns the float value of the element at the specified <i>index</i> (optional; default is 0) of the specified Auxiliary Variables|Auxi...")
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Returns the float value of the element at the specified index (optional; default is 0) of the specified Auxiliary-Variable.
Syntax
(value:float) reference.AuxiliaryVariableGetFloat varName:string index:int baseForm:ref
Or:
(value:float) reference.AuxVarGetFlt varName:string index:int baseForm:ref
Example
set fValue to RaulRef.AuxiliaryVariableGetFloat "someVarName"
set fValue to AuxVarGetFlt "someVarName" 2 ArmorCombat
Notes
- The function will return 0 if the variable is not defined/has no element at index/element is not of type float. When necessary, verify using AuxiliaryVariableGetType.