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
| Parameter | Description |
|---|---|
| BaseObject | The character whose hair color will be temporarily overridden (Self or Target). |
| S1 | Hair part identifier to color (e.g. Hair, Eyebrow, Eyelash). |
| S2 | Hair color as a hex color string (e.g. "#1A1A1A"). |
| F1 | Duration override in seconds; 0 uses the default duration from the data table. |
Examples
| Description | BaseObject | Command | S1 | S2 | F1 |
|---|---|---|---|---|---|
| Temporarily dyes self's hair black. | Self | ModifyTemporaryAppearanceHair | Hair | #1A1A1A | 0 |
| Temporarily dyes self's eyebrow blonde. | Self | ModifyTemporaryAppearanceHair | Eyebrow | #F5DEB3 | 0 |
| Temporarily dyes target's hair red for 60 seconds. | Target | ModifyTemporaryAppearanceHair | Hair | #8B0000 | 60 |
| Temporarily dyes self's eyelash dark brown. | Self | ModifyTemporaryAppearanceHair | Eyelash | #3B1E08 | 0 |
Back to Command FinderSearch and filter all 399 Script Execution documents