Jump to content

Defined area


Shihan Feiri
 Share

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

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

Recommended Posts

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

You are about to reply to a thread that has been inactive for 4448 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...