Execute_SetMeshToSpawner
Description
Sets or clears the override mesh on the first MeshSpawner belonging to the site entity resolved from BaseObject. If S1 is empty, the override mesh is cleared.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The site entity whose first MeshSpawner will be updated (Self or Target). |
| S1 | MeshDescription ID to set on the spawner. If empty, clears the override mesh. |
Examples
| Description | BaseObject | Command |
|---|---|---|
| Set the House_Snow mesh on the site's MeshSpawner | Self | SetMeshToSpawner |
| Clear the override mesh on the site's MeshSpawner | Self | SetMeshToSpawner |
| Set the Shop_Night mesh on the target site's MeshSpawner | Target | SetMeshToSpawner |
Back to Command FinderSearch and filter all 399 Script Execution documents