LSL Browser HUD

THIS HAS NEVER BEEN IMPLEMENTED.


feel free to correct/expand/update this disclaimer --oobscure 04:15, 13 April 2011 (PDT)

Scenarios

"Browser HUD" is a small HTML web-browser widget that appears in a 400x300 pixel window in the top-left corner of the screen. It will be used for our internal OI tutorial (replacing the attachment-based HUD).

These LSL commands will let content creators control this Browser HUD to:

We require a permissions check for this:

Function

Function Name Parameter(s)
llMiniBrowserCreate ( ) ( key agent_id, string title, string url , vector size, integer channel_number )
llMiniBrowserDestroy ( )

Requires script permission PERMISSION CONTROL BROWSER HUD, requested through llRequestPermissions().

Params

Constant Name Description Parameter(s) Example Rule Value
BROWSER_HUD_TITLE Title for Browser HUD string title [ BROWSER_HUD_TITLE, "Tutorial" ]
BROWSER_HUD_CONTENT_URL URL for this browser HUD string title [ BROWSER_HUD_CONTENT_URL, "http://randomuser.com/vehicle.php" ]
BROWSER_HUD_SIZE Size for HUD window content area (not including title bar) vector size in pixels, <width, height, ignored>, clamped to SL window size, or 500x500, whichever is smaller [ BROWSER_HUD_SIZE, <400, 300, 0> ]
BROWSER_HUD_CHAT_CHANNEL chat channel for browser HUD integer channel_number [ BROWSER_HUD_CHAT_CHANNEL, 123]

Implementation

Differences between Browser HUD and Media Browser

Links

PERMISSION CONTROL BROWSER HUD