Skip to main content

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

ParameterDescription
BaseObjectThe site entity whose first MeshSpawner will be updated (Self or Target).
S1MeshDescription ID to set on the spawner. If empty, clears the override mesh.

Examples

DescriptionBaseObjectCommand
Set the House_Snow mesh on the site's MeshSpawnerSelfSetMeshToSpawner
Clear the override mesh on the site's MeshSpawnerSelfSetMeshToSpawner
Set the Shop_Night mesh on the target site's MeshSpawnerTargetSetMeshToSpawner