Jump to content

Defined area


Shihan Feiri
 Share

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

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...