// SPDX-License-Identifier: MIT // Copyright (c) 2026 Incoprea // Temporary face highlight // Not compiled or tested in-world // Setup: Put in the prim and set FACE. The original glow is captured at startup. Keep other glow scripts off that face. // Stop / restore: Let the three-second timer complete before removing. Removing while lit leaves the glow until manually restored. // Notes: Glow can be unavailable or visually reduced in some viewer configurations. No point light is created. // License: see LICENSE in this distribution. // Original Incoprea example. MIT. Not compiled or tested in-world. integer FACE = 0; float original; default { state_entry() { original = llList2Float(llGetLinkPrimitiveParams(LINK_THIS, [PRIM_GLOW, FACE]), 0); } touch_start(integer count) { if (llDetectedKey(0) != llGetOwner()) return; llSetLinkPrimitiveParamsFast(LINK_THIS, [PRIM_GLOW, FACE, 0.12]); llSetTimerEvent(3.0); } timer() { llSetTimerEvent(0.0); llSetLinkPrimitiveParamsFast(LINK_THIS, [PRIM_GLOW, FACE, original]); } }