AuxiliaryVariableSetFloat

From the Fallout3 GECK Wiki
Revision as of 12:57, 14 March 2017 by imported>DoctaSax (Undo revision 24708 by DoctaSax (talk))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::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

[help]
(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" 102031 -1 ArmorCombat

See Also