set_hlod_layer_actors
Assign or clear a UHLODLayer for a batch of loaded actors in the current editor world. World Partition only.
Instructions
Assign a UHLODLayer to a BATCH of loaded actors in the current editor world -- or clear it from them by passing hlod_layer_path="". WORLD PARTITION ONLY: on a non-WP world it returns not_applicable=true and changes nothing. Idempotent per actor: one that already has that layer is not touched at all and comes back counted as unchanged, so the changed/unchanged/cleared split tells you exactly what really moved.
Returns: { hlod_layer_path, world, is_world_partition, not_applicable, note?, requested: int, changed: int, unchanged: int, cleared: int, not_found: [paths], changed_actors: [{actor_path, old_hlod_layer, new_hlod_layer}] }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| actor_paths | Yes | JSON array of actor paths (long package paths or object paths) to assign. | |
| hlod_layer_path | No | Full /Game path of the UHLODLayer asset. Pass empty string ("") to clear. |