Difference between revisions of "AuxiliaryVariableSetFloat"
Jump to navigation
Jump to search
imported>Jazzisparis (Created page with "{{Function |origin = JIP |summary = Sets the float value of the element at the specified <i>index</i> (optional; default is 0) of the specified Auxiliary Variables|Auxilia...") |
imported>DoctaSax m (corrected example (parameter order)) |
||
Line 24: | Line 24: | ||
|example = RaulRef.AuxiliaryVariableSetFloat "someVarName" -307.485 | |example = RaulRef.AuxiliaryVariableSetFloat "someVarName" -307.485 | ||
AuxVarSetFlt "someVarName" | AuxVarSetFlt "someVarName" -1 102031 ArmorCombat | ||
}} | }} | ||
==See Also== | ==See Also== | ||
[[Category:Functions_(JIP)]] | [[Category:Functions_(JIP)]] | ||
[[Category:Auxiliary-Variable Functions (JIP)]] | [[Category:Auxiliary-Variable Functions (JIP)]] |
Revision as of 12:54, 14 March 2017
< [[::Category:Functions|Category:Functions]]
A function added by the JIP NVSE Plugin.
Description
Sets the float value of the element at the specified index (optional; default is 0) of the specified Auxiliary-Variable. If index equals -1, the value will be appended as a new element, at the end.
Syntax
(success:bool) reference.AuxiliaryVariableSetFloat varName:string value:float index:int baseForm:ref
Or:
(success:bool) reference.AuxVarSetFlt varName:string value:float index:int baseForm:ref
Example
RaulRef.AuxiliaryVariableSetFloat "someVarName" -307.485
AuxVarSetFlt "someVarName" -1 102031 ArmorCombat