Execute_ChangeObjectWeathering
Description
Changes the weathering (wear) grade of the target GameObject to the specified level.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The target GameObject on which the weathering grade will be changed. |
| F1 | Weathering grade as an integer index into the WeatheringInfos array defined in ObjectWeathering.json. |
Examples
| Description | BaseObject | Command |
|---|---|---|
| Set the target object’s wear level to index 0. | Target | ChangeObjectWeathering |
| Set the target object’s wear level to index 1. | Target | ChangeObjectWeathering |
| Set the target object’s wear level to index 2. | Target | ChangeObjectWeathering |
| Reset the self object’s wear level to the base (0). | Self | ChangeObjectWeathering |
Back to Command FinderSearch and filter all 399 Script Execution documents