Difference between revisions of "GetModelPath"
Jump to navigation
Jump to search
imported>Odessa (Created. source OBSE docs.) |
imported>Odessa m (+can also be called on reference) |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
|origin = NVSE | |origin = NVSE | ||
|summary = Returns the file path to the NIF model for the specified object. Added by NVSE 4.1. | |summary = Returns the file path to the NIF model for the specified object or [[calling reference]]. Added by NVSE 4.1. | ||
|name = GetModelPath | |name = GetModelPath | ||
|returnType = Path:string | |returnType = Path:string | ||
|referenceType = reference | |||
|arguments = | |arguments = | ||
{{FunctionArgument | {{FunctionArgument | ||
|Name = Object | |Name = Object | ||
|Type = form}} | |Type = form | ||
|Optional = y}} | |||
}} | }} | ||
==Example== | ==Example== |
Latest revision as of 11:32, 14 August 2014
< [[::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
(Path:string) reference.GetModelPath Object:form
Example
string_var model_path let model_path := GetModelPath Vodka ; model_path == "Clutter\Food\Vodka01.NIF"