Linda McAllister Posted June 5, 2012 Share Posted June 5, 2012 I'm looking for a simple script that can rezz een book from a chair on sit. And de-rezz when standing up.I tried MLP, but thats to complicated, and lots of setup, and waiting for scripts and stuff.On the marketplace I only find scripts that rezzes whole sims.Can somebody help me with this script, or point me to the right place on the marketplace?Thanks in advanced :) Link to comment Share on other sites More sharing options...
Darkie Minotaur Posted June 5, 2012 Share Posted June 5, 2012 I'm not sure you're asking in the right forum - this forum is for duscussing scripting issues, not for providing scripts. If that's what you want, you should look in the Wanted forum. If, however you want to try and write such a script, it isn't hard to do - here are the ingredients: Difine a sit target using llSitTarget() use the changed event - if the the links have changed, test if a ava is sitting on the prim with llAvatarOnSitTarget (btw. - you'll find a nice example of most of what you need on that page If is is a sitting ava that triggered the change even, use llRezObject if the changed event was triggered by an avatar standing up, you send a message to the book, telling it to die. For doing so, use llSay, llListen and the listen event If you decide to script it yourself, don't hesitate to come back with any problems or questions that arise from setting the script up. Link to comment Share on other sites More sharing options...
Linda McAllister Posted June 5, 2012 Share Posted June 5, 2012 Thanks for the fast reply Darkie I tried to script it myself, but the book is rezzing, but the I can't get the book on the right place. My scripting skills is bad! But I tried...that's something! I think what i'm looking for is much more that what I have in mind? Link to comment Share on other sites More sharing options...
Darkie Minotaur Posted June 5, 2012 Share Posted June 5, 2012 I guess, your problem is, that the position and the rotation of the rezz event are relative to the region and not relativ to - I assume - the rezzing object? Link to comment Share on other sites More sharing options...
Lubo Plubeau Posted June 5, 2012 Share Posted June 5, 2012 What you need is a little (couple of lines script) which You put in the book Link the book temporarily to the "sit" object in a manner that the "sit" object remains the root (or just a prim of it of course) E.g. upoon touch (only by creator - you) will tell you its position and rotation, relative to the root prim (part of the "sit" object) You use the data you just got from the script along with llRezAtRoot() as it's described in the 2nd Example there. That should do the job. Link to comment Share on other sites More sharing options...
Linda McAllister Posted June 12, 2012 Share Posted June 12, 2012 I tried to find the right scripts for years now, and just did not find it. All what I try ends up what I don't want. If there is somebody out there that has a simple small object rezzer with a menu, I will buy it! For example: I made a ladder with a paint can on top, I want to rezz out a can, or a toolbox on top of the ladder. If you touch the ladder, the menu should come up, and ask you what to do, paint or hammering. In that way I can keep the prims low (ladder 1 prim) and more nice option what you can do with a ladder Thanks for all the help, you guys are great!! Link to comment Share on other sites More sharing options...
Rolig Loon Posted June 12, 2012 Share Posted June 12, 2012 If you are looking for a script that someone else has written, the place to look is the Wanted forum or Marketplace (or dozens of places in world). If you want to hire a scripter to write something for you, post in the Inworld Employment forum. This forum is a place for scripters to share insights about scripting and to ask for help with scripts that they are writing themselves. Link to comment Share on other sites More sharing options...
Recommended Posts
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