remove_landscape_spline_segment
Deletes one landscape spline segment by index, unlinking its two endpoint control points while keeping them. Use it to cut a road or river without losing the route's points.
Instructions
Delete ONE landscape spline segment by index, unlinking its two endpoint control points but keeping them -- the way to cut a road or river without losing the route's points (remove_landscape_spline_control_point destroys the point and all its segments instead). Segment indices shift after a removal, so work from the highest index down.
Returns: { landscape_name: string, segment_index: int, removed: bool, segment_count: int, control_points_unlinked: int }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| segment_index | Yes | Index into the splines component's Segments | |
| landscape_name | No | Optional landscape actor name, defaults to first found |