Difference between revisions of "PERMISSION CONTROL BROWSER HUD"

From Second Life Wiki
Jump to navigation Jump to search
(New page: == Design == '''new permission flag''' ''integer'' PERMISSION_CONTROL_BROWSER_HUD = 0x1000 (The value is the next in sequence after PERMISSION_CONTROL_CAMERA) == Descriptions == Th...)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<div id="RealTitleBanner" style="display: none;">
<span id="RealTitle">PERMISSION_CONTROL_BROWSER_HUD</span>
</div>
== Design ==
== Design ==


'''new permission flag'''  
'''new permission flag'''  


''integer''  PERMISSION_CONTROL_BROWSER_HUD  = 0x1000
''[[integer]]''  PERMISSION_CONTROL_BROWSER_HUD  = 0x1000


(The value is the next in sequence after PERMISSION_CONTROL_CAMERA)
(The value is the next in sequence after PERMISSION_CONTROL_CAMERA)
Line 34: Line 37:
** Show/hide browser HUD and set title, URL, etc.
** Show/hide browser HUD and set title, URL, etc.


*llGetPermissions
*[[llGetPermissions]]
** Get the permissions granted
** Get the permissions granted


*llRequestPermissions
*[[llRequestPermissions]]
**Request permissions
**Request permissions


===Events===
===Events===


*run_time_permissions
*[[run_time_permissions]]
**Permission receiving event
**Permission receiving event


== Link ==
== Link ==


[[LSL BrowerHud]]
[[LSL Browser HUD]]

Latest revision as of 21:32, 9 April 2008

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