ModLogPrint

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the JIP NVSE Plugin.

Description

Prints the passed formatted string, as a new line, into a log file of the mod owning the script from which the function is called.

  • The log file is found in ..\Steam\SteamApps\common\Fallout New Vegas\Mod Logs and is named after the mod (i.e. ModName.esp.log).
  • If the file does not exist, it is created.
  • The indent argument determines the indent level of the appended line.

Syntax

[help]
ModLogPrint indent:int textLine:formattedString formatVars(up to 20)

Example

ModLogPrint 0 "Test Print :%rID = %i  Name = %n" someForm someForm

See Also