normalized perms on all files, to avoid relying on any stored executable bits in...
[feisty_meow.git] / huffware / huffotronic_scripts / animated_texture_v0.4.txt
1 
2 // huffware script: animated texture, by fred huffhines.
3 //
4 // super simple texture animation, just an example right now.
5 //
6 //   this script is licensed by the GPL v3 which is documented at: http://www.gnu.org/licenses/gpl.html
7 //   do not use it in objects without fully realizing you are implicitly accepting that license.
8 //
9
10
11 default {
12     state_entry() { if (llSubStringIndex(llGetObjectName(), "huffotronic") < 0) state real_default; }
13     on_rez(integer parm) { state rerun; }
14 }
15 state rerun { state_entry() { state default; } }
16
17 state real_default {
18     state_entry() {
19         llSetTextureAnim(ANIM_ON | LOOP, ALL_SIDES, 4, 4, 0, 0, 3);
20     } 
21 }
22
23