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...
by Brayla Sana | Jun 26, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
llTeleportAgentHome(key id) If the scripted object is over owner’s land and agent is over the same land, teleports agent id immediately to that agent’s home location. The agent is not asked for confirmation. This is for agents only; there is no scripted...
by Brayla Sana | Jun 26, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
llSetTouchText(string text) Replaces “Touch” in the object’s pie menu with text. Passing an empty string to llSetTouchText will result in it defaulting to “Touch”. The text is limited to 9 characters; tab is interpreted as 4 always. The...
by Brayla Sana | Jun 26, 2017 | Agent and Avatar, Functions, LSL, OSSL, Wiki
llSetSitText(string text); Replaces “Sit Here” in the object’s pie menu with text. Passing an empty string to llSetSitText will result in it defaulting to “Sit Here”. The text is limited to 9 characters; tab (\t) is always interpreted as...