remove_landscape_spline_control_point
Delete a landscape spline control point by index, removing its attached segments and splitting the road or river; rejoin neighbors with add_landscape_spline_segment.
Instructions
Delete a landscape spline control point by index, and with it every segment attached to it (segments_removed says how many) -- so removing a mid-route point BREAKS the road or river in two rather than healing it; re-join the neighbours with add_landscape_spline_segment. Remaining indices shift, so delete from the highest index down when removing several.
Returns: { landscape_name: string, control_point_index: int, removed: bool, control_point_count: int, segments_removed: int, segment_count: int }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| landscape_name | No | Optional landscape actor name, defaults to first found | |
| control_point_index | Yes | Index into the splines component's ControlPoints |