Execute_CacheTemporaryMeshId
Description
Caches a temporary mesh ID in the AttachMeshComponent of the BaseObject character. This is used to store a mesh ID temporarily so it can be applied or referenced later without permanently modifying the character's appearance data.
Parameters
| Parameter | Description |
|---|---|
| BaseObject | The character whose AttachMeshComponent will cache the mesh ID (Self or Target) |
| S1 | Temporary mesh ID to cache (e.g., a mesh row key from the mesh data table) |
Examples
| Description | BaseObject | Command | S1 |
|---|---|---|---|
| Cache a temporary costume mesh ID on self | Self | CacheTemporaryMeshId | TempCostume_01 |
| Cache a temporary accessory mesh ID on target | Target | CacheTemporaryMeshId | TempAccessory_Hat |
| Cache a temporary outfit mesh ID for a cutscene on self | Self | CacheTemporaryMeshId | CutsceneOutfit_A |
| Cache a temporary event costume mesh on self | Self | CacheTemporaryMeshId | EventCostume_Summer |
Back to Command FinderSearch and filter all 399 Script Execution documents