set_pcg_graph_parameter
Set an existing PCG graph asset user parameter value and read it back to tune scatter density or rule thresholds without opening the graph.
Instructions
Write the value of an existing PCG graph user parameter (bool / int / float / double) and read the stored value back, so the reply is its own oracle -- how you tune scatter density or a rule threshold without opening the graph. The parameter must already exist (add_pcg_graph_parameter) and the value type must match. IMPORTANT: it accepts a PCGGraph ASSET only and answers "PCG graph not found" for a PCGGraphInstance -- per-instance overrides have no headless route and must be ticked in the details panel. Changing a parameter does not update the world: cleanup_pcg_component then generate_pcg_component, or the cached output is reused.
Returns: { pcg_graph_path, name, type, set, value }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Parameter name (must already exist; add with add_pcg_graph_parameter) (required) | |
| value | No | New value; its type must match the parameter's declared type (required) | |
| pcg_graph_path | Yes | /Game/... path to the UPCGGraph (required) |