Advertisement
Dorex

Untitled

Aug 16th, 2023
175
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1.  
  2. vector startPosition;
  3.  
  4. default
  5. {
  6. state_entry()
  7. {
  8. llSetPhysicsMaterial( GRAVITY_MULTIPLIER, 0.0001 ,0.0, 0.0, 0.0 );
  9. startPosition = llGetPos();
  10. llSetTimerEvent(5);
  11. }
  12.  
  13. timer()
  14. {
  15. startPosition.z +=1;
  16. llMoveToTarget(startPosition, 1.0);
  17. llSetTimerEvent(0);
  18.  
  19. }
  20.  
  21.  
  22. moving_end(){
  23. llOwnerSay("at target1");
  24. llStopMoveToTarget();
  25. }
  26. at_target(integer tnum, vector targetpos, vector ourpos){
  27. llOwnerSay("at target2");
  28. llStopMoveToTarget();
  29. }
  30. }
  31.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement