Asks the viewer to create a beacon for the user and optionally opens the world map centered on the location.

Syntax

void llMapBeacon( string region_name, vector pos, list options );

Forced delay: 1.0 seconds. Energy: 10.0.

Parameters

string region_name
Region name
vector pos
position in region coordinates
list options

Specification

Requests that a user's viewer set a beacon in the world and optionally opens the world map centered on the specified location.

Constants

ParameterReturn Values/Additional ParametersDescription
[ BEACON_MAP ]1[ BEACON_MAP, integer open_map, integer focus_map ]Requests viewer world map behavior. If the first parameter is TRUE the viewer should open the world map. If the second parameter is TRUE this function also requests that the map should receive focus.

Note that setting both values to true mimics the behavior of llMapDestination. Also, the focus_map parameter is only meaningful if open_map is TRUE

Caveats

Examples

The following example mimics the behavior of llMapDestination.

default
{
    touch_start(integer total_number)
    {
        llMapBeacon("WindSong", <185,140,29>, [BEACON_MAP, TRUE, TRUE]);
    }
}

Notes

See also

Functions

Deep notes

Issues