Difference between revisions of "String Variable"
no edit summary
imported>Odessa (→Simple Example: Improved) |
imported>Pintocat |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{Template:Community_Wiki}} | |||
String variables are added by NVSE 4. A string is simply some combination of text characters and exists widely in the vanilla game. A string variable allows you to store a string in a similar way to any other variable, and a wide range of functions allow powerful capabilities for them. | String variables are added by NVSE 4. A string is simply some combination of text characters and exists widely in the vanilla game. A string variable allows you to store a string in a similar way to any other variable, and a wide range of functions allow powerful capabilities for them. | ||
Line 23: | Line 27: | ||
</pre> | </pre> | ||
If you want to use [[String Formatting]] rather than concatanation, you need to use [[Sv_Construct]]: | If you want to use [[String Formatting]] rather than concatanation (+), you need to use [[Sv_Construct]]: | ||
<pre> | <pre> | ||
string_var my_string | string_var my_string |