Jump to content

Rezzing objects scripting help!


zyf444e668
 Share

You are about to reply to a thread that has been inactive for 3085 days.

Please take a moment to consider if this thread is worth bumping.

Recommended Posts

Take a good look at that example script again.  See where it says

        vector vec = llGetPos() + < 0.0, 0.0, 5.0>; // 5 meter above this

?  That's the position where you want the new object to rez..  Quite literally, "Here, plus 5.0 meters higher."  If you meant "Here plus 2 meters to the left", you'd write 

        vector vec = llGetPos() + < 0.0, -2.0, 0.0>; // 2 meter to the left of this

And if you wanted to be sure that the new object always rezzed 2.0 meters to the left of your rezzer, regardless of how you turned it, you'd write

        vector vec = llGetPos() + < 0.0, -2.0, 0.0>* llGetRot(); // 2 meter to the left of this, regardless of my rotation.

The only limitation at all is that you can't rez an object more than 10.0 m away from your rezzer.  If you want it to end up there, you have to rez it closer first and then move it.  That's more of a challenge.

  • Like 1
Link to comment
Share on other sites

You are about to reply to a thread that has been inactive for 3085 days.

Please take a moment to consider if this thread is worth bumping.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...