GetBlue - ColorForm

From Creation Kit
Jump to: navigation, search

SKSE Member of: ColorForm Script

Returns the blue component of this color form. (This function requires SKSE)

Syntax

int Function GetBlue() native

Parameters

None

Return Value

Returns the blue component of this color form. (From 0 to 255)

Examples

ActorBase pActorBase = Game.GetPlayer().GetActorBase()
ColorForm color = pActorBase.GetHairColor()
int blue = color.GetBlue()
Debug.Trace("The amount of blue in the players hair is " + blue)
endif

See Also