FileToString
Revision as of 12:33, 29 February 2008 by 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 ...)
Beta Function
This function has not been fully tested yet, and is not ready to be used in a released mod. It may not have the same function in later versions, may require the script to be recompiled, or simply may be removed. Use for testing purposes only until the author of the function says otherwise.
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.