Difference between revisions of "NvcPrintToFile"
Jump to navigation
Jump to search
imported>Speedo (Created) |
imported>Speedo |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
A command for [[:Category:NVC|NVC]]. | A command for [[:Category:NVC|NVC]]. | ||
nvcPrintToFile ContainerID filename:string ''indent:int | nvcPrintToFile ContainerID filename:string ''indent:int filename:string_var'' | ||
Outputs the contents of a container to a text file. If the exists, the new information will be appended to the existing file, if not the file is created. | Outputs the contents of a container to a text file. If the file exists, the new information will be appended to the existing file, if not the file is created. | ||
The file must be saved under the path "..\My Documents\My Games\Oblivion\NVC", though additional sub-folders may be specified in the filename. | |||
*If indent is < 0 or not specified, tabs are used to indent the ouput - one tab per level. | *If indent is < 0 or not specified, tabs are used to indent the ouput - one tab per level of "depth" in the container. | ||
*If indent is >= 0, ''indent'' number of spaces are used to indent the output, with ''level * indent'' spaces per level. | *If indent is >= 0, ''indent'' number of spaces are used to indent the output, with ''level * indent'' spaces per level. | ||
Latest revision as of 01:19, 26 November 2008
A command for NVC.
nvcPrintToFile ContainerID filename:string indent:int filename:string_var
Outputs the contents of a container to a text file. If the file exists, the new information will be appended to the existing file, if not the file is created.
The file must be saved under the path "..\My Documents\My Games\Oblivion\NVC", though additional sub-folders may be specified in the filename.
- If indent is < 0 or not specified, tabs are used to indent the ouput - one tab per level of "depth" in the container.
- If indent is >= 0, indent number of spaces are used to indent the output, with level * indent spaces per level.
Example[edit | edit source]
int container ... nvcPrintToFile container "MyModName\debug.txt" 1
Would output container to the file "\My Documents\My Games\Oblivion\NVC\MyModName\debug.txt", using one space to indent every level.