Skip to content

Present dialogs, text prompts, links, and map destinations.

What do you want to do?

Reference

13 topic entries

Badges
Kind
  • 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.functionS (Sleeps 1s)
  • 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.functionS (Sleeps 0.1s)
  • llMapBeacon(string region_name, vector pos, list options)Displays 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.functionS (Sleeps 1s)
  • llMapDestination(string simname, vector pos, vector look_at)Opens 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.functionS (Sleeps 1s)
  • llSetClickAction(integer action)Sets the action (a CLICK_ACTION_* flag) performed when an avatar left-clicks the prim.function
  • llSetPayPrice(integer price, list quick_pay_buttons)Suggests default amounts for the pay text input field price and the four payment dialog quick_pay_buttons when an avatar pays this object.function
  • llSetSitText(string text)Displays the string text instead of 'Sit' (or 'Sit Here') in the viewer's right-click context menu.function
  • llSetTouchText(string text)Displays the string text instead of 'Touch' in the right-click context menu.function
  • 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.functionS (Sleeps 1s)
  • vector llWorldPosToHUD(vector world_pos)Returns 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_CAMERA runtime permission.functionP (Requires PERMISSION_TRACK_CAMERA)
  • touch_start(integer num_detected)Triggered when an avatar first touches the object. Passes num_detected, representing the number of touching agents.event
  • touch(integer num_detected)Triggered continuously while an avatar touches the object. Passes num_detected, representing the number of touching agents.event
  • touch_end(integer num_detected)Triggered when an avatar stops touching the object. Passes num_detected, representing the number of touching agents.event