ModLogPrint

From GECK

Revision as of 18:46, 20 March 2017 by Jazzisparis (Talk | contribs) (Created page with "{{Function |origin = JIP |summary = Prints the passed formatted string, as a new line, into a log file of the mod owning the script from which the func...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

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

Example

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

See Also

Personal tools