SetFontFile

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

A function added by the JIP NVSE Plugin.

Description

Sets the source-file (.fnt) of the specified font type (1-8). This enables to dynamically manipulate the graphics of the game's fonts during run-time.

Syntax

[help]
(success:0/1) SetFontFile fontType:int{1-8} filePath:string

Example

SetFontFile 2 "textures\fonts\My_Custom_Font.fnt"

Notes

  • The file-path should be relative to the game's Data folder.
  • The function returns 1 if successful.

See Also