GetModelPath - Armor: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>Loop not defined
m (Convert source tags to syntaxhighlight)
 
Line 7: Line 7:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
string Function GetModelPath(bool bFemalePath) native
string Function GetModelPath(bool bFemalePath) native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 18: Line 18:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Retrieve the file path for the male model of ArmorIronCuirass
; Retrieve the file path for the male model of ArmorIronCuirass
String FilePath = (Game.GetForm(0x00012E49) as Armor).GetModelPath(False)
String FilePath = (Game.GetForm(0x00012E49) as Armor).GetModelPath(False)
; Returns "Armor\Iron\Male\CuirassLightGND.nif"
; Returns "Armor\Iron\Male\CuirassLightGND.nif"
</source>
</syntaxhighlight>


== Notes ==
== Notes ==

Navigation menu