daily pastebin goal
65%
SHARE
TWEET

Untitled

a guest Mar 16th, 2019 77 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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top