GetType - HeadPart

From the CreationKit Wiki
Revision as of 20:31, 4 April 2013 by imported>Iceburg333 (→‎Return Value)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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]