add_streaming_level
Adds a saved level package to the current editor world as a streaming sub-level. Requires an existing .umap on disk and skips duplicates.
Instructions
Adds a saved level package to the editor world as a streaming sub-level. Creates a ULevelStreamingDynamic wrapper referencing the given level package and attaches it to the current editor world's StreamingLevels array. The package must already exist on disk (a streaming level references a saved .umap). Idempotent: if the level is already a streaming level, returns its current state with added=false. (an object path "/Game/Maps/SubLevel.SubLevel" is also accepted).
Returns: { package_name: string, name: string, streaming_class: string, should_be_loaded: bool, should_be_visible: bool, is_level_loaded: bool, is_level_visible: bool, added: bool, already_present: bool, streaming_level_count: number }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| should_be_loaded | No | Desired initial ShouldBeLoaded state (optional, default true) | |
| should_be_visible | No | Desired initial ShouldBeVisible state (optional, default true) | |
| level_package_path | Yes | Package path of the level, e.g. "/Game/Maps/SubLevel" |