Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- default
- {
- state_entry()
- {
- llSay(0, "Script running");
- }
- touch(integer i)
- {
- llSay(0, "touched");
- vector target = <90.550, 229.858, 24.988>; //Final position
- vector pos = llGetPos();
- while(pos.x > target.x) //We want it to move along the x-axis
- {
- llSetPos(pos + <-2,0,0>);
- pos = llGetPos();
- //llSleep(0.1);
- }
- }
- }
Add Comment
Please, Sign In to add comment