by Brayla Sana | Oct 15, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
integer llGetAttached() Returns the object’s attachment point (or 0 if not attached) to the avatar. Valid values are: 0 Not attached ATTACH_CHEST 1 chest (roughly the sternum) ATTACH_HEAD 2 top of head (skull)...
by Brayla Sana | Jun 27, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
integer llGetPermissions(); Returns which permissions have been granted. The return value will be a bitmask of the following values: Constant: Result Allows PERMISSION_DEBIT Permission to take money from agent’s account. Use of llGiveMoney....
by Brayla Sana | Jun 27, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
key llGetPermissionsKey() Returns avatar key for which permissions have been granted or NULL_KEY if none have been granted. Compare with llRequestPermissions and...
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...