Jump to content

How to use llReturnObjectsByOwner


Life Camino
 Share

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

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

Recommended Posts

I'm working on a security relay and I want to be able to both ban an avatar and return their objects in the same step.   There are no examples provided for the command, so I was wondering if someone could tell me how this command should be used for my purposes.  

The security relay is to be deeded to a group on group owned land, so I need the relay to always have the permissions it needs without having to ask every time.  And, once the relay is deeded to a group, I need to be able to reset the script and grant permissions.

Thanks.

Link to comment
Share on other sites

You'll probably get a more complete answer with an example and all, but in case you're stuck waiting for help: It's pretty simple in principle, the main tricky bit is that at state_entry, the script has no inherent way of knowing who reset it, so you have to figure out a way for it to know of whom to request permissions. One way would be to do nothing and have a separate "activation" action -- perhaps touching the object -- and then using the activating agent's key to request perms.

Or, if you're the only one who should be able to grant it permissions, it might have your own key hard-coded. Or have a list of authorized permission-granters, and match that list against llGetAgentList() for the region. 

You will want it to establish permissions as soon as it's reset, not wait until it throws a permissions error, because then it would be too late to find anybody around from which to request perms.

Link to comment
Share on other sites

  • 2 weeks later...
You are about to reply to a thread that has been inactive for 3311 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...