Skip to main content

Execute_ChangeObjectWeathering

Description

Changes the weathering (wear) grade of the target GameObject to the specified level.

Parameters

ParameterDescription
BaseObjectThe target GameObject on which the weathering grade will be changed.
F1Weathering grade as an integer index into the WeatheringInfos array defined in ObjectWeathering.json.

Examples

DescriptionBaseObjectCommand
Set the target object’s wear level to index 0.TargetChangeObjectWeathering
Set the target object’s wear level to index 1.TargetChangeObjectWeathering
Set the target object’s wear level to index 2.TargetChangeObjectWeathering
Reset the self object’s wear level to the base (0).SelfChangeObjectWeathering