create_mass_spawner_actor
Spawn an AMassSpawner actor in the UE5 editor at a chosen location and label it, then link entity configs with set_mass_spawner_entity_types.
Instructions
Spawn an AMassSpawner actor into the editor world at location (zero rotation) and label it; the level is not saved. config_path is only echoed, not linked (config_linked:false): link configs with set_mass_spawner_entity_types. Use a unique label, since the spawner tools take the first match.
Returns: { actor_label, actor_name, config_path, config_linked, note }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | No | Optional spawn location [X, Y, Z] in world units (cm), default the origin; ignored unless it holds exactly 3 numbers | |
| actor_label | Yes | Editor label for the new spawner actor | |
| config_path | No | Optional entity config asset path (echoed; not linked) |