FileExists

Revision as of 22:52, 11 December 2016 by imported>Gribbleshnibit8 (Created page with "{{Function |origin = LU |summary = Returns whether or not a file exists in the Data directory or a loaded BSA archive for a given file path. Returns '2' if the file is found...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
< [[::Category:Functions|Category:Functions]]

A function added by the Lutana NVSE plugin.

Description

Returns whether or not a file exists in the Data directory or a loaded BSA archive for a given file path. Returns '2' if the file is found within a BSA. You can pass a string_var by using the ToString ($) operator.

Syntax

(int) [RadioEmitter].FileExists filepath:string

See Also