Difference between revisions of "GetModelPath - Armor"

Jump to navigation Jump to search
8 bytes removed ,  15:27, 25 September 2013
m
no edit summary
imported>Loop not defined
m
imported>Loop not defined
m
Line 19: Line 19:
== Examples ==
== Examples ==
<source lang="papyrus">
<source lang="papyrus">
; Retrieve the file path of the file 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"
Line 26: Line 26:
== Notes ==
== Notes ==
*This is to retrieve the file of the world & inventory model.  That means the model you see in your inventory and when the armor is on the ground, not when it is equipped.
*This is to retrieve the file of the world & inventory model.  That means the model you see in your inventory and when the armor is on the ground, not when it is equipped.
*To retrieve the file used for equipped items on actors, run [[GetModelPath - ArmorAddon]] on the appropriate ArmorAddon object.
*To retrieve the file used for equipped armor on actors, run [[GetModelPath - ArmorAddon]] on the appropriate [[ArmorAddon]] object.


== See Also ==
== See Also ==
*[[Armor Script]]
*[[Armor Script]]
*[[SetModelPath - Armor]]
*[[SetModelPath - Armor]]

Navigation menu