GetNumParts - Outfit
Revision as of 06:29, 26 February 2013 by imported>Wafflesalot (Few Capitalisation edits.)
SKSE Member of: Outfit Script
Returns how many parts are included in the outfit.
Syntax[edit | edit source]
int Function GetNumParts() native
Return Value[edit | edit source]
The amount of parts in the outfit.
Examples[edit | edit source]
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