GetType - HeadPart

From the CreationKit Wiki
Jump to navigation Jump to search

SKSE Member of: ActorBase Script

Returns the number of the head part's type. (This function requires SKSE)

Syntax[edit | edit source]

Int Function GetType() native

Parameters[edit | edit source]

None

Return Value[edit | edit source]

Returns the type of head part as an int. The table below shows the relationship between the int and the body part it represents.

Number Type
0 Mouth
1 Head
2 Eyes
3 Hair
4 Beard
5 Scar
6 Brows

Examples[edit | edit source]

Int HeadPartType = Player.GetNthHeadPart(0).GetType() ;Returns the actor base's first headpart type

Notes[edit | edit source]

See Also[edit | edit source]