// SPDX-License-Identifier: MIT // Copyright (c) 2026 Incoprea // Straight linked transfer stream // Not compiled or tested in-world // Setup: Put in a child offset from its root. Owner-touch toggles the emitter. // Stop / restore: Touch to clear the emitter before removing. Existing particles fade according to their lifetime; use Stop particle effect if the starter was removed early. // Notes: Viewer-only particles do not provide collision geometry. Uses a sparse emission rate and replaces any previous emitter settings. TARGET_LINEAR ignores the non-DROP trajectory controls and acceleration. Targets only this linkset root, never a visitor. // License: see LICENSE in this distribution. // Original Incoprea. MIT. Not compiled or tested in-world. integer active; default { touch_start(integer count) { if(llDetectedKey(0)!=llGetOwner())return; if(llGetLinkNumber()<2)return; active=!active; if(!active) { llParticleSystem([]); return; } llParticleSystem([PSYS_PART_FLAGS,PSYS_PART_TARGET_LINEAR_MASK|PSYS_PART_INTERP_COLOR_MASK, PSYS_SRC_PATTERN,PSYS_SRC_PATTERN_DROP,PSYS_SRC_TARGET_KEY,llGetLinkKey(1), PSYS_PART_START_COLOR,<0.5,1.0,0.8>,PSYS_PART_END_COLOR,<0.5,1.0,0.8>,PSYS_PART_START_ALPHA,0.7,PSYS_PART_END_ALPHA,0.0, PSYS_PART_START_SCALE,<0.05,0.05,0.0>,PSYS_PART_MAX_AGE,1.5,PSYS_SRC_BURST_RATE,0.2,PSYS_SRC_BURST_PART_COUNT,1]); } }