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