Difference between revisions of "TotalControl for LSL/Commands/BOT SIT"
From SmartBots Developers Docs
(→Example) |
|||
Line 5: | Line 5: | ||
{{AdminBot Required Vars|BOT_SIT}} | {{AdminBot Required Vars|BOT_SIT}} | ||
− | {{API Variable| | + | {{API Variable|id|yes}} UUID of a prim where the bot will sit |
− | {{API Variable| | + | {{API Variable|str|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, "f8d31841-d60c-82ff-5e07-bda1edc9e603 | + | llMessageLinked(LINK_SET, BOT_SIT, "1", "f8d31841-d60c-82ff-5e07-bda1edc9e603"); |
</syntaxhighlight> | </syntaxhighlight> | ||
Revision as of 22:50, 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
| |
---|---|---|---|
id | yes | UUID of a prim where the bot will sit | |
str | optional | set this parameter to 1 to save the UUID as a permanent sitting location. |
Example
llMessageLinked(LINK_SET, BOT_SIT, "1", "f8d31841-d60c-82ff-5e07-bda1edc9e603");