Skip to content
lsl.devlsl.devLSL Dev

llOpenFloater

functionLinden experience only
Function syntax
integer llOpenFloater(
  1. string floater_name,// Identifier string of the viewer floater to open.
  2. string url,// URL to load within the opened floater.
  3. list params// Options or parameters to apply to the opened floater.
);
Returns
integer
Delay
0.2 s
Energy
10

Opens the specified viewer floater_name loaded with url and configured via params. Returns an integer error code, or 0 if successful.

This function may be called only from a Linden owned experience.

Returns an integer Error code, or 0 if no error.

How to use
integer result = llOpenFloater("", "", []);

The llOpenFloater function will send a request to the viewer requesting that it open a new floater with the provided title on the viewer. This function must be called from a script running within an attachment. The script must also have been compiled as part of a Linden owned experience.

If the request was successfully sent to the viewer this function will return 0.

In the event of an error the return value will be one of the values from the following table:

ConstantValDescription
NOT_EXPERIENCE-1The script is not complied as part of an experience, or the experience is not privileged.
NOT_ATTACHMENT-2There was an issue finding the object, or the object is not an attachment.
BAD_AGENT-3There was an issue finding the owner.
NOT_EXPERIENCE_PERMISSIONS-4There was some other issue with the experience permissions.

Known valid values for the floater_name parameter:

  • guidebook
  • how_to
  • web_content