Difference between revisions of "GetModelPath - ArmorAddon"
Jump to navigation
Jump to search
m
→Examples
imported>Loop not defined (Expanded example) |
imported>Loop not defined m (→Examples) |
||
Line 36: | Line 36: | ||
if akBaseItem.GetType() == 26 ; If item is Armor | if akBaseItem.GetType() == 26 ; If item is Armor | ||
ArmorAddon tempAA = (akBaseItem as Armor).GetNthArmorAddon(0) | ArmorAddon tempAA = (akBaseItem as Armor).GetNthArmorAddon(0) | ||
mFilePathPOV = tempAA.GetModelPath(true, false) ; 1st person view, male | mFilePathPOV = tempAA.GetModelPath(true, false) ; 1st person view, male | ||
mFilePathBiped = tempAA.GetModelPath(false, false) ; biped, male | mFilePathBiped = tempAA.GetModelPath(false, false) ; biped, male | ||
fFilePathPOV = tempAA.GetModelPath(true, true) ; 1st person view, female | fFilePathPOV = tempAA.GetModelPath(true, true) ; 1st person view, female | ||
fFilePathBiped = tempAA.GetModelPath(false, true) ; biped, female | fFilePathBiped = tempAA.GetModelPath(false, true) ; biped, female | ||
endif | endif | ||
endEvent | endEvent | ||
</source> | </source> | ||
== Notes == | == Notes == |