// SPDX-License-Identifier: MIT // Copyright (c) 2026 Incoprea // Inspect touch routing through a linkset // Not compiled or tested in-world // Setup: Put in one prim of a linkset and touch linked components as owner. // Stop / restore: Remove or disable. This inspector changes no build properties. // Notes: Touch propagation depends on other scripts and pass-touch settings. A silent component may consume its event elsewhere; the script does not modify routing. // License: see LICENSE in this distribution. // Original Incoprea example. MIT. default { touch_start(integer count) { if(llDetectedKey(0)!=llGetOwner()) return; llOwnerSay("Script prim link: "+(string)llGetLinkNumber()); llOwnerSay("Touched prim link: "+(string)llDetectedLinkNumber(0)+"; face: "+(string)llDetectedTouchFace(0)); llOwnerSay("Detected owner touches in this event: "+(string)count); } changed(integer flags) { if(flags & CHANGED_OWNER) llResetScript(); } }