Skip to main content

Execute_ModifyTemporaryAppearance

Description

Temporarily overrides a specific aspect of the character's appearance (skin tone, muscle mass, or body mass ratio). 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. S1 value "HairColor" is not supported by this command — use ModifyTemporaryAppearanceHair instead.

Parameters

ParameterDescription
BaseObjectThe character whose appearance will be temporarily overridden (Self or Target).
S1Appearance type to change: SkinTone, MuscleMass, or BodyMassRatio.
S2Value to apply: hex color string for SkinTone; numeric string in range 0.0–1.0 for others.
F1Duration override in seconds; 0 uses the default duration from the data table.

Examples

DescriptionBaseObjectCommandS1S2F1
Temporarily sets self's skin tone to a specific hex color.SelfModifyTemporaryAppearanceSkinTone#C686420
Temporarily sets self's muscle mass to maximum.SelfModifyTemporaryAppearanceMuscleMass1.00
Temporarily sets self's body mass ratio to 50%.SelfModifyTemporaryAppearanceBodyMassRatio0.50
Temporarily sets target's muscle mass to minimum for 30 sec.TargetModifyTemporaryAppearanceMuscleMass0.030