Difference between revisions of "TotalControl for LSL/Commands/BOT SIT"

From SmartBots Developers Docs
Jump to: navigation, search
 
(3 intermediate revisions by the same user not shown)
Line 5: Line 5:
  
 
{{AdminBot Required Vars|BOT_SIT}}
 
{{AdminBot Required Vars|BOT_SIT}}
{{API Variable|str|yes}} --
+
{{API Variable|str|no}} set this parameter to 1 to save the UUID as a permanent sitting location.
{{API Variable|id|yes}} --
+
{{API Variable|id|yes}} UUID of a prim where the bot will sit
  
 
{{API Variables Table End}}
 
{{API Variables Table End}}
Line 13: Line 13:
  
 
<syntaxhighlight lang="lsl">
 
<syntaxhighlight lang="lsl">
llMessageLinked(LINK_SET, BOT_SIT, "uuid of chair here", "1");
+
llMessageLinked(LINK_SET, BOT_SIT, "1", "f8d31841-d60c-82ff-5e07-bda1edc9e603");
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Latest revision as of 22:51, 3 March 2019

Commands bot to sit on a prim

Variables

The following table shows input values (you send them with the API call) and returned output values.

Variable Required Description


str optional set this parameter to 1 to save the UUID as a permanent sitting location.
id yes UUID of a prim where the bot will sit

Example

llMessageLinked(LINK_SET, BOT_SIT, "1", "f8d31841-d60c-82ff-5e07-bda1edc9e603");