Difference between revisions of "StrSet"

Jump to navigation Jump to search
236 bytes added ,  11:40, 10 August 2007
rewrite
imported>Talkie Toaster
imported>Tibixe
(rewrite)
 
Line 1: Line 1:
'''Syntax:'''
'''Function:'''
   StrSet ''StringRef:long'' "String"
   StrSet ''stringToSet:stringID'' ''format:string'' [var1, var2, var3...]


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


Sets the contents of the passed StringRef to the passed string. StrSet will overwrite any existing contents of the string.
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 '%'.


[[Category: Functions (OBSE)]]
[[Category: Functions (OBSE)]]
[[Category: TSFC]]
[[Category: TSFC]]
Anonymous user

Navigation menu