SetModelPath - ArmorAddon: Difference between revisions

Jump to navigation Jump to search
m
Convert source tags to syntaxhighlight
imported>Loop not defined
m (→‎Examples: added hex notations to first example)
m (Convert source tags to syntaxhighlight)
 
Line 7: Line 7:


== Syntax ==
== Syntax ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
string Function SetModelPath(string path, bool firstPerson, bool female) native
string Function SetModelPath(string path, bool firstPerson, bool female) native
</source>
</syntaxhighlight>


== Parameters ==
== Parameters ==
Line 20: Line 20:


== Examples ==
== Examples ==
<source lang="papyrus">
<syntaxhighlight lang="papyrus">
; Change all Ebony Armor (cuirass) to appear as Orcish Armor
; Change all Ebony Armor (cuirass) to appear as Orcish Armor
ArmorAddon orcishCuirassAA = (Game.GetForm(0x00013957) as Armor).GetNthArmorAddon(0)
ArmorAddon orcishCuirassAA = (Game.GetForm(0x00013957) as Armor).GetNthArmorAddon(0)
Line 45: Line 45:
   endif
   endif
endEvent
endEvent
</source>
</syntaxhighlight>


== Notes ==
== Notes ==

Navigation menu