GetModelPath

From the Fallout3 GECK Wiki
Revision as of 11:32, 14 August 2014 by imported>Odessa (+can also be called on reference)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
< [[::Category:Functions|Category:Functions]]

A function added by the New Vegas Script Extender.

Description

Returns the file path to the NIF model for the specified object or calling reference. Added by NVSE 4.1.

Syntax

[help]
(Path:string) reference.GetModelPath Object:form

Example

string_var model_path

let model_path := GetModelPath Vodka

; model_path == "Clutter\Food\Vodka01.NIF"

See Also