Background for Skyrim SE
Member of the Outfit script
FormfunctionGetNthPart(intn)Native

Description

Wiki Description

Returns the Nth part of the outfit.


Caveats


Parameters

intn


Examples

Actor property Ralof Auto
int NumPart

Function Outfit()
    NumPart = Ralof.GetActorBase().getoutfit().getnumparts()
    while NumPart
        Numpart -= 1
        Form Clothing = Ralof.GetActorBase().GetOutfit().getNthPart(NumPart)
        If (Clothing.IsCuirass()) ;Checks for the Cuirass Keyword.
            Debug.Trace("Index " + NumPart + " is a Cuirass.")
        EndIf
    EndWhile
EndFunction

Auto-Generated Example

int myInt__n

Form returnedValue = myOutfit__toCallFunctionOn.GetNthPart(myInt__n)

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.