add_landscape_spline_segment
Connect two existing landscape spline control points with a segment to build roads, rivers, or paths. Use after adding control points; the segment creates the visible spline between them.
Instructions
Join two existing landscape spline control points with a segment -- the second half of laying a road, river or path: points alone render nothing, the segments between them are the spline. Both indices must already exist (add_landscape_spline_control_point returns them). Chain segments point-to-point for a route; use get_landscape_splines to confirm segment_count grew.
Returns: { landscape_name: string, segment_index: int, segment_count: int, start_point_index: int, end_point_index: int, added: bool }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| landscape_name | No | Optional landscape actor name, defaults to first found | |
| end_point_index | Yes | Index of the end control point | |
| start_point_index | Yes | Index of the start control point |