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 | 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 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
integer llGetAgentInfo(key id) Returns a bitfield of id agent information: Constant Represents Value AGENT_FLYING Returned if agent is flying. 0x0001 AGENT_ATTACHMENTS Returned if agent has attachments. 0x0002 AGENT_SCRIPTED Returned if agent has scripted...
by Brayla Sana | Jun 27, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
key llAvatarOnSitTarget() If an avatar is sitting on the sit target, this function will return the avatar’s key; NULL_KEY otherwise. This will only detect avatars sitting on sit targets defined with llSitTarget. At some point prior to SL 1.6.5, it would...