Shihan Feiri Posted February 13, 2012 Share Posted February 13, 2012 If i have part of land , and i wish to restrict some actions ( moving of object eg. ) just for this part of land, what i need to use to define this part of land? Link to comment Share on other sites More sharing options...
Rolig Loon Posted February 13, 2012 Share Posted February 13, 2012 That depends on how the part of the land is defined. You can use the llOverMyLand function to make it so that certain actions only happen within the boundaries of your own parcel, for example. You could also build in a set of tests to find out where your scripted object is, and then use those tests to tell whether the object is in "approved" space or not. That is, something like vector MyPos = llGetPos();if ((MyPos.x < 128) && (MyPos.y < 128)){ // Object is in the SW quadrant of the sim} Or you could set a home position and then not let the object wander more than an approved distance from that spot. I'm sure that you can think of other possibilities. 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