Advertisement
Guest User

Untitled

a guest
Mar 16th, 2019
101
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.        
  7. llSetKeyframedMotion([<0,0,0>, 5, <0,0,-3>, 5, <0,3,0>, 5, <0,0,3>, 5, <0,-3,0>, 5], [KFM_DATA, KFM_TRANSLATION, KFM_MODE, KFM_LOOP]); Moving around in a square
  8.     }
  9.    
  10.     on_rez(integer num)
  11.     {
  12.         llResetScript();//this seems to restart it, well enough?
  13.     }    
  14.    
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement