Jump to content

Detect All Agents In Multiple Parcels


joniveehernandez
 Share

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

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

Recommended Posts

See llSensor for  basic example of how to scan for avatars. You could have it make a list of avatars to store the ones it detects like a visitor list maker script which are available for free in various script libraries. The limit for the sensor range is 96 meters so you couldn't scan a region for all agents from one object.  You would need space them around the properties to provide full coverage and then go to each one to get the list.  Your other option is the rez an object and script it to travel to each parcel, scan, add names to a list, then come back to report.  This wouldn't work though if there is land in between that does not allow object entry.

Link to comment
Share on other sites

If you look at the wiki article to which I provided a link, you will see that llGetAgentList "returns avatar keys for all agents in the region limited to the area(s) specified by scope" and that AGENT_LIST_PARCEL_OWNER makes it return "only agents on any parcel in the region where the parcel owner is the same as the owner of the parcel under the scripted object."

So the short answer to your question, is yes -- the one object can, if you want, return the uuids of everyone on the whole sim.   Or you can limit it to the uuids of people on parcels owned by the person who owns the parcel the object containing the script is sitting on (the script knows who that is).

We used to have to do it the way Amethyst describes, but llGetAgentList was introduced a couple of months ago and now means we don't need scanners and stuff to do what you are wanting to do.

Link to comment
Share on other sites

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