Advertisement
Dorex

Untitled

Dec 9th, 2023
1,610
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]);
  6.     }
  7.  
  8.     touch_start(integer total_number)
  9.     {
  10.         llSetKeyframedMotion([<0.0, 0.0, 5.0>, 5, <0.0, 0.0, -10.0>, 5], [KFM_DATA, KFM_TRANSLATION, KFM_MODE, KFM_FORWARD ]);
  11.     }
  12.     moving_end(){
  13.         llOwnerSay("moving_end");
  14.     }
  15.     at_target(integer tnum, vector targetpos, vector ourpos)
  16.     {
  17.         llOwnerSay("at_target");
  18.     }
  19. }
  20.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement