Background for Skyrim SE
Member of the Armor script
stringfunctionGetModelPath(boolbFemalePath)Native

Description

Wiki Description

Returns the file path for the NetImmerse File (.nif) representing the world & inventory model of the armor. (This function requires SKSE)

Documentation Comment

works on the path to the nif file representing the in-game model of the weapon


Caveats

CK Wiki - 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.
  • To retrieve the file used for equipped armor on actors, run ArmorAddon.GetModelPath(...) on the appropriate ArmorAddon object.

Parameters

boolbFemalePath

CK Wiki Description

Whether to get the file path of the male model (false) or female model (true) of the armor.


Examples

; Retrieve the file path for the male model of ArmorIronCuirass
String FilePath = (Game.GetForm(0x00012E49) as Armor).GetModelPath(False)
; Returns "Armor\Iron\Male\CuirassLightGND.nif"

Auto-Generated Example

bool myBool__bFemalePath

string returnedValue = myArmor__toCallFunctionOn.GetModelPath(myBool__bFemalePath)

Related Pages


Additional References

View this function’s page on the Skyrim Creation Kit Wiki

Some data provided by the Skyrim Creation Kit Wiki. Licensed under the Creative Commons Attribution-ShareAlike license.