// SPDX-License-Identifier: MIT // Copyright (c) 2026 Incoprea // Stop linked surface animation // Not compiled or tested in-world // Setup: Disable scripts that restart animations first. Put in the affected rezzed object and save. // Stop / restore: Runs once. Remove after checking the surfaces. // Notes: Only texture animation is cleared; manual UV values and textures are not reset. Uses object prim count to exclude seated avatars. // License: see LICENSE in this distribution. // Original Incoprea. MIT. Not compiled or tested in-world. default { state_entry() { integer total=llGetObjectPrimCount(llGetKey()); integer i; if(total<=1)llSetTextureAnim(FALSE,ALL_SIDES,0,0,0.0,0.0,1.0); else for(i=1;i<=total;++i)llSetLinkTextureAnim(i,FALSE,ALL_SIDES,0,0,0.0,0.0,1.0); } }