0fa2b92f-cdfa-3bd7-8638-f4c78d02ff84_script.lsl 2.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. //
  2. // The line above should be left blank to avoid script errors in OpenSim.
  3. default
  4. {// zFire Xue Prim Animator Generator 5.1 Fastest Web Version.
  5. // Script belongs to Fire Centaur
  6. // This script goes into prim named: CONNECT HUD
  7. on_rez(integer r){llResetScript();}
  8. link_message(integer s, integer n, string m, key id)
  9. {integer stat=llGetStatus(1);
  10. if(m=="p12"){ //zF Animation Frame #12
  11. vector r=<0.32424,0.06091,0.19606>;
  12. llSetScale(r);
  13. vector Zfire=llGetScale();
  14. vector zFire=<0.34291,-0.12018,1.33655>;
  15. vector zfIre=<0.32424,0.06091,0.19606>;
  16. vector zfiRe=< zFire.x/zfIre.x,zFire.y/zfIre.y,zFire.z/zfIre.z>;
  17. vector zfirE=< Zfire.x*zfiRe.x,Zfire.y*zfiRe.y,Zfire.z*zfiRe.z>;
  18. llSetPrimitiveParams([6, zfirE,8, <0.0,0.0,-0.00223,1.0> / llGetRootRotation(),9,0,0,<0.0, 1.0, 0.0>,0.0,<0.0, 0.0, 0.0>,<1.0, 1.0, 0.0>,<0.0, 0.0, 0.0>,18,0,<0.239216, 0.239216, 0.239216>,1.000000,18,1,<1.0, 1.0, 1.0>,1.000000,18,2,<0.239216, 0.239216, 0.239216>,1.000000,18,3,<0.239216, 0.239216, 0.239216>,1.000000,18,4,<0.239216, 0.239216, 0.239216>,1.000000,18,5,<0.239216, 0.239216, 0.239216>,1.000000,25,0,0.0,25,1,0.0,25,2,0.0,25,3,0.0,25,4,0.0,25,5,0.0]); }
  19. if(m=="p13"){ //zF Animation Frame #13
  20. vector r=<0.32424,0.06091,0.19606>;
  21. llSetScale(r);
  22. vector Zfire=llGetScale();
  23. vector zFire=<0.34291,-0.04047,1.33655>;
  24. vector zfIre=<0.32424,0.06091,0.19606>;
  25. vector zfiRe=< zFire.x/zfIre.x,zFire.y/zfIre.y,zFire.z/zfIre.z>;
  26. vector zfirE=< Zfire.x*zfiRe.x,Zfire.y*zfiRe.y,Zfire.z*zfiRe.z>;
  27. llSetPrimitiveParams([6, zfirE,8, <0.0,0.0,-0.00223,1.0> / llGetRootRotation(),9,0,0,<0.0, 1.0, 0.0>,0.0,<0.0, 0.0, 0.0>,<1.0, 1.0, 0.0>,<0.0, 0.0, 0.0>,18,0,<0.239216, 0.239216, 0.239216>,1.000000,18,1,<1.0, 1.0, 1.0>,1.000000,18,2,<0.239216, 0.239216, 0.239216>,1.000000,18,3,<0.239216, 0.239216, 0.239216>,1.000000,18,4,<0.239216, 0.239216, 0.239216>,1.000000,18,5,<0.239216, 0.239216, 0.239216>,1.000000,25,0,0.0,25,1,0.0,25,2,0.0,25,3,0.0,25,4,0.0,25,5,0.0]); }
  28. if(stat){llSetStatus(1,1);}}}
  29. // Please leave the following line intact to show where the script lives in Git:
  30. // SLOODLE LSL Script Git Location: mod/scoreboard-1.0/objects/default/assets/sloodle_connect_button_anim.lslp