Difference between revisions of "LlRequestPermissions"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 1: Line 1:
{{LSLFunctionAll|func_id=136|func_sleep=0.0|func_energy=10.0|func=llRequestPermissions|p1_type=key|p1_name=agent|p2_type=integer|p2_name=perm|func_footnote=ask agent to allow the script to do perm (NB: Debit, ownership, link, joint, and permission requests can only go to the tasks owner)|return_text|spec|caveats|examples|helpers|related|also|notes}}[[Category:LSL_Functions]][[Category:LSL_Stub]]
{{LSL_Function
|sort=RequestPermissions
|func_id=136
|func_sleep=0.0
|func_energy=10.0
|func=llRequestPermissions
|p1_type=key|p1_name=agent|p1_desc=Avatar key
|p2_type=integer|p2_name=perm|p2_desc=Permission mask (bitfield containing the permissions to request).
|func_desc=Ask agent for permission to run certain classes of functions.
|return_text
|spec
|caveats=If a permission was requested with a previous call to this function and granted, then in subsequent call was not requested, the permission is released (lost).
|examples
|helpers
|also_events=* {{LSLG|run_time_permissions}}
|also_functions=* {{LSLG|llGetPermissions}}
|also_articles=* Script permissions}}
|notes}}[[Category:LSL_Stub]]

Revision as of 19:19, 29 January 2007

Summary

Function: llRequestPermissions( key agent, integer perm );
0.0 Forced Delay
10.0 Energy

Ask agent for permission to run certain classes of functions.

• key agent Avatar key
• integer perm Permission mask (bitfield containing the permissions to request).

Caveats

If a permission was requested with a previous call to this function and granted, then in subsequent call was not requested, the permission is released (lost).

Examples

See Also

Events

Functions

Articles

  • Script permissions

Deep Notes

Signature

function void llRequestPermissions( key agent, integer perm );

|notes}}