GetType - HeadPart

From Creation Kit
Jump to: navigation, search

SKSE Member of: ActorBase Script

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

Syntax

Int Function GetType() native

Parameters

None

Return Value

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

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

Notes

See Also