llMapBeacon does not work on non-touch events
tracked
Log In
Maestro Linden
tracked
Maestro Linden
Hi Bugs Larnia, thanks for the report. While it's true that the latest Second Life Release 7.1.13.14343205944 (64bit) does not yet support the extended associated with llMapBeacon, a non-supporting viewer should show the same result as though llMapDestination were called.
Testing with the script below, I see that, with the exception of the touch event, the script owner does not get any world map prompts when the script is not attached. If the script is attached, then llMapBeacon triggers the world map window for each event - as expected.
default
{
state_entry()
{
llListen(0, "", NULL_KEY, "");
string region = "Ahern";
llOwnerSay("Showing beacon for region " + region);
llMapBeacon(region, <128,128,30>, []);
}
listen(integer channel, string name, key id, string msg)
{
string region = llStringTrim(msg, STRING_TRIM);
llOwnerSay("Showing beacon for region " + region);
llMapBeacon(region, <128,128,30>, []);
}
touch_start(integer n)
{
string region = llGetRegionName();
llOwnerSay("Showing beacon for region " + region);
llMapBeacon(region, <128,128,30>, []);
}
collision_start(integer n)
{
string region = "Morris";
llOwnerSay("Showing beacon for region " + region);
llMapBeacon(region, <128,128,30>, []);
}
}
Bugs Larnia
That is correct. Attached scripts work as expected. Thanks for checking and following up so quickly, Maestro Linden
Maestro Linden
under review