Sv Set

From GECK

A function added by the New Vegas Script Extender.

Description

Sets the contents of a string variable to the passed formattable string. Although ported to NVSE, this function was deprecated in OBSE. It is simpler and better easier to use Let instead. Added by NVSE 4.1.

Syntax

(none) Sv_Set Literal:string Formatting Target:string_var

Example

string_var my_string
int SomeVariable

let my_string := "You don't need to use sv_set to do this " + $SomeVariable

sv_set "but if you really want to, its like this %g" SomeVariable, my_string

See Also

Personal tools