Asks the viewer to create a beacon for the user and optionally opens the world map centered on the location.
void llMapBeacon( string region_name, vector pos, list options );
Forced delay: 1.0 seconds. Energy: 10.0.
Requests that a user's viewer set a beacon in the world and optionally opens the world map centered on the specified location.
| Parameter | Return Values/Additional Parameters | Description | |||||||
|---|---|---|---|---|---|---|---|---|---|
| [ 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 | ||||||
The following example mimics the behavior of llMapDestination.
default
{
touch_start(integer total_number)
{
llMapBeacon("WindSong", <185,140,29>, [BEACON_MAP, TRUE, TRUE]);
}
}
num_touched > 1)