// SPDX-License-Identifier: MIT // Copyright (c) 2026 Incoprea // Preview evenly spaced points // Not compiled or tested in-world // Setup: Edit START and END. Touch as owner for a read-only preview. // Stop / restore: Remove or disable the script. It does not change the build. // Notes: This uses linear interpolation and creates no prims. The same calculation can later supply a carefully tested movement or layout tool. // License: see LICENSE in this distribution. // Original Incoprea example. MIT. vector START = <0.0, 0.0, 0.0>; vector END = <8.0, 4.0, 2.0>; default { touch_start(integer count) { if (llDetectedKey(0) != llGetOwner()) return; integer i; for (i = 0; i <= 4; ++i) { float t = (float)i / 4.0; vector point = START + (END - START) * t; llOwnerSay((string)i + ": " + (string)point); } } changed(integer flags) { if (flags & CHANGED_OWNER) llResetScript(); } }