Difference between revisions of "TotalControl for LSL/Commands/BOT SETUP SETOPTIONS"

From SmartBots Developers Docs
Jump to: navigation, search
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:BOT_SETUP_SETOPTION}}
+
{{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}}
  
{{AdminBot Required Vars|BOT_SETUP_SETOPTION}}
+
{{AdminBot Required Vars|BOT_SETUP_SETOPTIONS}}
 
{{API Variable|str|yes}} options list, separated by commas. See the available options below.
 
{{API Variable|str|yes}} options list, separated by commas. See the available options below.
 
{{API Variable|id|yes}} --
 
{{API Variable|id|yes}} --
Line 19: Line 23:
  
 
<syntaxhighlight lang="lsl">
 
<syntaxhighlight lang="lsl">
llMessageLinked(LINK_SET, BOT_SETUP_SETOPTION, "NO_OWNERCHANGE_RESET", NULL_KEY);
+
integer BOT_SETUP_SETOPTIONS = 280104;
 +
 
 +
default
 +
{
 +
state_entry()
 +
{
 +
llMessageLinked(LINK_SET, BOT_SETUP_SETOPTIONS, "NO_OWNERCHANGE_RESET", NULL_KEY);
 +
}
 +
}
 
</syntaxhighlight>
 
</syntaxhighlight>
  

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);
	}
}