Skip to main content

Execute_ModifyTemporaryAppearanceHair

Description

Temporarily overrides the color of a specific hair part (Hair, Eyebrow, Eyelash) on the character. The override is reverted after the specified duration or when RevertTemporaryAppearance is called.

Note

This action is blocked for pregnant characters; a toast message is sent if the character is pregnant.

Parameters

ParameterDescription
BaseObjectThe character whose hair color will be temporarily overridden (Self or Target).
S1Hair part identifier to color (e.g. Hair, Eyebrow, Eyelash).
S2Hair color as a hex color string (e.g. "#1A1A1A").
F1Duration override in seconds; 0 uses the default duration from the data table.

Examples

DescriptionBaseObjectCommandS1S2F1
Temporarily dyes self's hair black.SelfModifyTemporaryAppearanceHairHair#1A1A1A0
Temporarily dyes self's eyebrow blonde.SelfModifyTemporaryAppearanceHairEyebrow#F5DEB30
Temporarily dyes target's hair red for 60 seconds.TargetModifyTemporaryAppearanceHairHair#8B000060
Temporarily dyes self's eyelash dark brown.SelfModifyTemporaryAppearanceHairEyelash#3B1E080