Advertisement
gguitar

Flame cell animation

Mar 21st, 2020
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.80 KB | None | 0 0
  1. //G.Guitar for Gwiz! 2013
  2. // change parameters here
  3. // the name ( face, rate etc )replaces the parameters in the functions
  4. // integer 0 1 2 3 4 5 6 7 8 9 etc
  5. // float 0.00
  6.  
  7. integer face = ALL_SIDES; // ALL_SIDES for all the prim faces Use CTRL+SHIFT+ALT+T to get face number
  8. float rate = 10.0; // Change the anaimation speed here
  9. integer columns = 7; // // columns (horizontal) and rows(vertical) for the number of boxes on the texture - this is 4x4
  10. integer rows = 5;
  11.  
  12.  
  13. // This stays the same
  14.  
  15. default
  16. {
  17. // state_entry()
  18.  
  19. touch_start(integer Number)
  20.  
  21. {
  22. llSetTextureAnim(ANIM_ON | LOOP, face, columns, rows, 0.0, columns * rows, rate);
  23. // llRemoveInventory(llGetScriptName()); // uncomment to delete the script automatically after setting parameters
  24. }
  25.  
  26. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement