Difference between revisions of "FileToString"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Speedo
(New page: {{Beta}} A command for Pluggy. '''Syntax:''' FileToString FilenameStringID:long TargetStringID:long ''Global:short'' Reads the contents of the specified file and ...)
 
imported>Speedo
(Graduating from beta)
 
Line 1: Line 1:
{{Beta}}
A command for [[:Category: Pluggy|Pluggy]].
A command for [[:Category: Pluggy|Pluggy]].



Latest revision as of 20:35, 25 March 2008

A command for Pluggy.

Syntax:

FileToString FilenameStringID:long TargetStringID:long Global:short

Reads the contents of the specified file and stores it in the target string.

  • FileToString copies the entire file, character for character. As such the input may contain Tab characters, End of Line characters, or other data which may not display properly in Oblivion.
  • If you want to modify a string from another mod, you will need to set the Global flag to 1. If Global is 0 or unset the function will fail. If the string is protected the function will fail.