GetBlue - ColorForm

Revision as of 17:06, 10 May 2012 by imported>PurpleLunchbox (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' ColorForm Script Returns the blue component of this color form. (This function require...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

SKSE Member of: ColorForm Script

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

SyntaxEdit

int Function GetBlue() native

ParametersEdit

None

Return ValueEdit

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

ExamplesEdit

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 AlsoEdit