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

Description

Wiki Description

Returns how many parts are included in the outfit.


Caveats


Examples

Actor property Ralof Auto
int numberOfParts

Function OutfitParts()
    numberOfParts = Ralof.GetActorBase().getoutfit().getnumparts()
    ;The above line retrieves the actor Ralof's actorbase, then gets his normal outfit,
    ;and finally retrieves the amount of pieces in the outfit.
    Debug.Trace("Ralof's outfit contains " + numberOfParts + " pieces.")
EndFunction

Auto-Generated Example

int returnedValue = myOutfit__toCallFunctionOn.GetNumParts()

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.