|
Greg Hauptmann
Registered User
Join date: 30 Oct 2005
Posts: 283
|
02-20-2006 18:19
Hi,
I'm offline, but should I assume there's no way to hold open at the same time, via llRequestPermissions(key agent, integer perm) for the same script/prim:
a) PERMISSION_DEBIT to the owner (e.g. refund money) & b) PERMISSION_TRIGGER_ANIMATION for the agent "sitting" on the object
I'm guessing the way to do this would be if a SIT occurs then process this and animate the agent who "sat", and then to straight away perform an "llRequestPermissions(<owner>, PERMISSION_DEBIT)" to re-establish this ability for the script?
i.e. the problem is (I understand) that if call llRequestPermissions it cancels out the previous call to llRequestPermissions. (i.e. from the wiki " Be aware that the effects of this call are not additive " Tks
|
|
Greg Hauptmann
Registered User
Join date: 30 Oct 2005
Posts: 283
|
02-20-2006 18:31
hang on - If I have to perform another "llRequestPermissions(<owner>, PERMISSION_DEBIT)" during the running of the system this would require the OWNER to be present I assume to click on "allow this permission". Is this correct? In this case I guess there is no way to animate user X, and refund $L from owner, in the same script & prim? 
|
|
Catherine Omega
Geometry Ninja
Join date: 10 Jan 2003
Posts: 2,053
|
02-20-2006 19:25
No, you'll need two scripts to do that. They can both exist within the same prim, however.
|
|
Greg Hauptmann
Registered User
Join date: 30 Oct 2005
Posts: 283
|
02-20-2006 19:30
thanks Catherine
|