X-Git-Url: https://feistymeow.org/gitweb/?a=blobdiff_plain;f=huffware%2Fhuffotronic_tools_n_testers_v6.1%2Fanimated_texture_v0.4.txt;fp=huffware%2Fhuffotronic_tools_n_testers_v6.1%2Fanimated_texture_v0.4.txt;h=6cc510bb72f2a3a9706afc2f265619e9032b654f;hb=cb9011b7dd78ac93d48a871a9fdda062c9181138;hp=0000000000000000000000000000000000000000;hpb=ad0ce3f89fcb4e06393aa84e342c2745aef72da8;p=feisty_meow.git diff --git a/huffware/huffotronic_tools_n_testers_v6.1/animated_texture_v0.4.txt b/huffware/huffotronic_tools_n_testers_v6.1/animated_texture_v0.4.txt new file mode 100755 index 00000000..6cc510bb --- /dev/null +++ b/huffware/huffotronic_tools_n_testers_v6.1/animated_texture_v0.4.txt @@ -0,0 +1,23 @@ + +// huffware script: animated texture, by fred huffhines. +// +// super simple texture animation, just an example right now. +// +// this script is licensed by the GPL v3 which is documented at: http://www.gnu.org/licenses/gpl.html +// do not use it in objects without fully realizing you are implicitly accepting that license. +// + + +default { + state_entry() { if (llSubStringIndex(llGetObjectName(), "huffotronic") < 0) state real_default; } + on_rez(integer parm) { state rerun; } +} +state rerun { state_entry() { state default; } } + +state real_default { + state_entry() { + llSetTextureAnim(ANIM_ON | LOOP, ALL_SIDES, 4, 4, 0, 0, 3); + } +} + +