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

From SmartBots Developers Docs
Jump to: navigation, search
Line 5: Line 5:
  
 
{{AdminBot Required Vars|BOT_SIT}}
 
{{AdminBot Required Vars|BOT_SIT}}
{{API Variable|str|yes}} --
+
{{API Variable|str|yes}} UUID of a prim where the bot will sit
{{API Variable|id|yes}} --
+
{{API Variable|id|no}} set this parameter to 1 to save the UUID as a permanent sitting location.
  
 
{{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, "UUID of chair here", "1");
 
</syntaxhighlight>
 
</syntaxhighlight>
  

Revision as of 20:20, 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 yes UUID of a prim where the bot will sit
id optional set this parameter to 1 to save the UUID as a permanent sitting location.

Example

llMessageLinked(LINK_SET, BOT_SIT, "UUID of chair here", "1");