Advertisement
Guest User

Untitled

a guest
Feb 24th, 2019
231
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. default
  2. {
  3.     state_entry()
  4.     {
  5.         llSetLinkPrimitiveParamsFast(LINK_THIS, [PRIM_PHYSICS_SHAPE_TYPE, PRIM_PHYSICS_SHAPE_CONVEX]); // Required to use llSetKeyframedMotion (restart script once)
  6.         llSetKeyframedMotion([<0,0,0>, 5, <0,5,0>, 5, <0,0,0>, 5, <0,-5,0>, 5], [KFM_DATA, KFM_TRANSLATION, KFM_MODE, KFM_LOOP]); // Moving around
  7.     }
  8.    
  9.     on_rez(integer num)
  10.     {
  11.         llResetScript();//this seems to restart it, well enough?
  12.     }    
  13.    
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement