Sv Construct
Revision as of 19:13, 1 July 2014 by imported>Odessa (Created page with "{{Function |origin = NVSE |summary = Returns a string variable constructed from the specified string and up to 20 formatting arguments. If no formattin...")
< [[::Category:Functions|Category:Functions]]
A function added by the New Vegas Script Extender.
Description
Returns a string variable constructed from the specified string and up to 20 formatting arguments. If no formatting is required, this function is not necessary, as the Let command can be used to assign string variables.
Syntax
(string_var) Sv_Construct Literal:string Formatting
Example
string_var my_string int iValue ref rActor let my_string := "Simple text" ; * Sv_Construct is not necessary let my_string := Sv_Construct "iValue equals %g and rActor's name is %n", iValue, rActor