StrSet

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search

Function:

 StrSet stringToSet:stringID format:string [var1, var2, var3...]

Example

 StrSet sentence "The variable sentence will be set to this" 

Sets the contents of the passed stringID to the passed string. StrSet will overwrite any existing contents of the string.

StrSet can be used to embed numbers in strings, like the Message, MessageBox and PrintToConsole functions. The only difference is that you have to use the '$' character instead of '%'.