AuxiliaryVariableSetString

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Sets the string 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.AuxiliaryVariableSetString varName:string value:string index:int baseForm:ref 

Or:

(success:bool) reference.AuxVarSetStr varName:string value:string index:int baseForm:ref

Example

RaulRef.AuxiliaryVariableSetString "someVarName" "Snivelling, dim-witted weasel."
AuxVarSetStr "someVarName" "Toffee-nosed git." -1 ArmorCombat

See Also