PERMISSION CONTROL BROWSER HUD

From Second Life Wiki
Jump to navigation Jump to search

Design

new permission flag

integer PERMISSION_CONTROL_BROWSER_HUD = 0x1000

(The value is the next in sequence after PERMISSION_CONTROL_CAMERA)

Descriptions

This permission is used with the llRequestPermissions function and can be requested of any user.

When the function is called, a dialog will pop up asking the user if they wish for this object to control their browser HUD - a small web browser window that appears in the top-left corner of the screen. It is usually used for tutorials, but could be used for attachment controls, vehicle controls, maps, etc.

If the permission is granted then the script will be able to control user's browser HUD via function llBrowserHUD .

Flag             --PERMISSION_CONTROL_BROWSER_HUD    
Value 	                           
Result/Action    --Requests permission to control user's browser hud
Allows           --Use of llBrowserHUD
Category         --BrowserHUD
Granter          --Anyone

Note

This permission will be auto granted if

  • user is sitting on the object which is asking for the permission
  • the object asking for the permission is attached to the user

Related Functions, Events & Constants

Functions

  • llBrowserHUD
    • Show/hide browser HUD and set title, URL, etc.

Events

Link

LSL Browser HUD