Difference between revisions of "TotalControl for LSL/Commands/BOT SETUP SETOPTIONS"
From SmartBots Developers Docs
(Correction to typo and updated example) |
|||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:BOT_SETUP_SETOPTIONS}} | {{DISPLAYTITLE:BOT_SETUP_SETOPTIONS}} | ||
<onlyinclude>Sets various options for TotalControl.</onlyinclude> | <onlyinclude>Sets various options for TotalControl.</onlyinclude> | ||
+ | |||
+ | <syntaxhighlight lang="lsl"> | ||
+ | llMessageLinked(LINK_SET, BOT_SETUP_SETOPTIONS, "NO_OWNERCHANGE_RESET", NULL_KEY); | ||
+ | </syntaxhighlight> | ||
{{API Variables Table}} | {{API Variables Table}} | ||
Line 17: | Line 21: | ||
== Example == | == Example == | ||
− | |||
− | |||
− | |||
− | |||
<syntaxhighlight lang="lsl"> | <syntaxhighlight lang="lsl"> |
Latest revision as of 01:45, 13 March 2019
Sets various options for TotalControl.
llMessageLinked(LINK_SET, BOT_SETUP_SETOPTIONS, "NO_OWNERCHANGE_RESET", NULL_KEY);
Variables
The following table shows input values (you send them with the API call) and returned output values.
Variable | Required | Description
| |
---|---|---|---|
str | yes | options list, separated by commas. See the available options below. | |
id | yes | -- |
Available Options
The following options are currently available:
- NO_OWNERCHANGE_RESET - TotalControl does not reset itself on object owner change
Example
integer BOT_SETUP_SETOPTIONS = 280104;
default
{
state_entry()
{
llMessageLinked(LINK_SET, BOT_SETUP_SETOPTIONS, "NO_OWNERCHANGE_RESET", NULL_KEY);
}
}