LlGetObjectPermMask

From Open Metaverse Wiki

Opensimulator: Content Creators: Scripts: Functions: llGetObjectPermMask

LSL Portal documentation: https://wiki.secondlife.com/wiki/LlGetObjectPermMask

The LSL portal gives the various perm masks as hex values but what the script actually returns is regular integers. To save you from having to convert, here are the values returned for the most common permission settings:

  • Full perm (copy, modify, transfer): 2147483647
  • Copy only: 557056
  • Copy, modify: 573440
  • Copy, transfer: 565248
  • Modify only: 540672
  • Modify, transfer: 548864
  • Transfer only: 532480
  • No perms (no copy, no modify, no transfer): 524288