You need to give life to an object ? this script is what you need :)
You can use that script to make any object move randomly in a predefined 3D area, for example a ghost, a bird, some fish or whatever you want to animate.
Start by putting the script in your object and type “/123 init” in the local chat.
To set the area in which your object will move you have to define the “moving box” with values in three axis (X, Y and Z). Z will define the height of the moving box, knowing that the ‘center point’ is at the base of this ‘box’ you understand that the object will only move on top of that Z point.
X and Y (width and length of the box) are centered on the ‘center point’.
When you change the value for those three boundaries, just type the value in meter in the caption box and clic on ‘submit’ (no ‘enter’ or you will add a line and you don’t want that^^)
Yoyo MODE : If ON, the object will come back to the ‘center point’ before going to the next position. If OFF it will go from one position to another without going back to the ‘center point’.
AutoRot MODE : If ON, the object will rotate to face the next point, if OFF the rotation will stay the same.
Center : Redefine the actual position of the object as the new ‘center point’ of the ‘moving box’
Examples :
Ghost :
X=1 / Y=1 / Z=5 / Yoyo ON / AutoRot OFF
The ghost will move from 0m to 5m height randomly and a bit (1m) on X and Y axis.
Mouse :
X=20 / Y=20 / Z=0 / Yoyo OFF / AutoRot ON
The mouse stay on the ground in a 20/20m area, it does not come back to center and face the next position.
Guard in a corridor :
X=40 / Y=1 / Z=0 / Yoyo ON / AutoRot ON
Any question or trouble, IM Shad Obscure. Possible Copy/Trans version on IM (‘round 1K L$)
- works on every objects
- easy to set up
- Many possible applications
great little script
Took me awhile to figure out, as I wanted it to move a spacecraft at over 3000 meters in the air and thought the Z point would have to reflect that. It doesn't ...Just place your object at the height you want it to start out at (that height would be considered *0* no matter the SL height you are starting at)
The reason for 4 stars instead of 5 is that the Blue Menu disappears BEFORE you press DONE if you choose one of the other tabs instead of *Done.... such as the auto rotate or Yoyo. If you choose something other than *Done* after the Z,Y and Z axis ..you have to type /123 init into chat again to get it back. (I'm sure the scripter can fix this) Also,...Don't think you can save it to inventory and haul it out into the world again (especially at 3000 meters high) as it turns phantom /physical and will fall to the bottom of the sim.
Over all a great little script to make things move! The scripter replied fast when I IM'd him for help with my problems and even returned my Lindens when it seemed nothing helped..I'll be repaying him though as I didn't give up...The script does work good!
WORKS
perfect little script to makes things go from here to there!
Nice!
Lovely little script, easy to set up with the dialog box. Great for those of us who are inexperienced in scripting. It's working perfectly for what I needed. Very smooth and lag-free animation. Thanks!