User Interface
Present dialogs, text prompts, links, and map destinations.
Feature: Dialog
What do you want to do?
llDialog(key agent, string msg, list buttons, integer channel)Shows a dialog box on the screen of the specified agent, displaying msg along with up to 12 choice buttons. Clicking a button chats its label on channel. The chat originates at the object's position, but uses the agent's name and UUID, so it can be heard as long as the agent is still in the region.llTextBox(key agent, string msg, integer channel)Opens an input text box dialog displaying msg to the agent. Submitting text chats the input string on channel as if said by the agent. The chat originates at the object's position, but uses the agent's name and UUID, so it can be heard as long as the agent is still in the region.llLoadURL(key avatar, string message, string url)Shows a dialog box displaying message to the avatar avatar offering to open the specified url. Clicking yes launches the URL in their default web browser.Reference
13 topic entries
llDialog(key agent, string msg, list buttons, integer channel)functionShows a dialog box on the screen of the specified agent, displaying msg along with up to 12 choice buttons. Clicking a button chats its label on channel. The chat originates at the object's position, but uses the agent's name and UUID, so it can be heard as long as the agent is still in the region.
llLoadURL(key avatar, string message, string url)functionShows a dialog box displaying message to the avatar avatar offering to open the specified url. Clicking yes launches the URL in their default web browser.
llMapBeacon(string region_name, vector pos, list options)functionDisplays an in-world beacon and optionally opens the world map for the avatar touching or wearing the object, centered on region_name with pos highlighted. Only works for attached scripts or during touch events.
llMapDestination(string simname, vector pos, vector look_at)functionOpens the world map for the avatar touching or wearing the object, centered on simname with pos highlighted. Only works for attached scripts or during touch events. Note: look_at currently has no effect.
llSetClickAction(integer action)functionSets the action (a CLICK_ACTION_* flag) performed when an avatar left-clicks the prim.
llSetPayPrice(integer price, list quick_pay_buttons)functionSuggests default amounts for the pay text input field price and the four payment dialog quick_pay_buttons when an avatar pays this object.
llSetSitText(string text)functionDisplays the string text instead of 'Sit' (or 'Sit Here') in the viewer's right-click context menu.
llSetTouchText(string text)functionDisplays the string text instead of 'Touch' in the right-click context menu.
llTextBox(key agent, string msg, integer channel)functionOpens an input text box dialog displaying msg to the agent. Submitting text chats the input string on channel as if said by the agent. The chat originates at the object's position, but uses the agent's name and UUID, so it can be heard as long as the agent is still in the region.
vector llWorldPosToHUD(vector world_pos)functionReturns the local position vector that places the center of the HUD object directly over the world coordinate world_pos as viewed by the current camera. Requires the
PERMISSION_TRACK_CAMERAruntime permission.touch_start(integer num_detected)eventTriggered when an avatar first touches the object. Passes num_detected, representing the number of touching agents.
touch(integer num_detected)eventTriggered continuously while an avatar touches the object. Passes num_detected, representing the number of touching agents.
touch_end(integer num_detected)eventTriggered when an avatar stops touching the object. Passes num_detected, representing the number of touching agents.
No matching entries. Try a different term or filter.