by Brayla Sana | Jun 25, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
Function: integer llGetRegionAgentCount( ); Returns an integer that is the number of avatars in the region. Caveats The value returned by this function is technically the average number of agents who were in the region for the past second, rounded to the nearest...
by Brayla Sana | Jun 26, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
llGiveMoney(key destination, integer amount) Transfers amount of Linden dollars from the script owner to destination. Requires the PERMISSION_DEBIT run-time permission. destination can only be an avatar, not an object or a group. The recipient does not need to be in...
by Brayla Sana | Jun 26, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
llInstantMessage(key user, string message) Sends an IM to user containing message and delays the script for 2 seconds. This delay exists to prevent IM spamming. To message the object owner, llOwnerSay(messsage) is the best option as it does not delay the script. To...
by Brayla Sana | Jun 27, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
string llKey2Name(key id) If the object or agent identified by the key id is in the same simulator as the object containing the script, this function returns their name. Otherwise, an empty string (“”) is returned. This can be misleading, because it...
by Brayla Sana | Jan 3, 2020 | Uncategorized
llMapDestination(string simname, vector position, vector lookat) Shows a given location on the map. Works in attachments, or during touch events. Currently the function will open the map window whenever it is called. There is no way to simply set the map position...