Difference between revisions of "AdminBot for LSL/Commands/SB SETUP SETLINK"

From SmartBots Developers Docs
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE: SB_SETUP_SETLINK}} <onlyinclude>Commands AdminBot to use specific link number for llMessageLinked calls instead of LINK_SET.</onlyinclude> {{API Variables Tab...")
 
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
 
<onlyinclude>Commands AdminBot to use specific link number for llMessageLinked calls instead of LINK_SET.</onlyinclude>
 
<onlyinclude>Commands AdminBot to use specific link number for llMessageLinked calls instead of LINK_SET.</onlyinclude>
  
{{API Variables Table}}
+
{{AdminBot Variables Table|command=SB_SETUP_SETLINK}}
  
 
{{AdminBot Required Vars|SB_SETUP_SETLINK}}
 
{{AdminBot Required Vars|SB_SETUP_SETLINK}}

Latest revision as of 13:11, 12 May 2017

Commands AdminBot to use specific link number for llMessageLinked calls instead of LINK_SET.

// Command usage:
llMessageLinked(LINK_SET, SB_SETUP_SETLINK, string str, key id);


API parameters

llMessageLinked function accepts str and id parameters. Their meaning for SB_SETUP_SETLINK is explained below:

Variable Required Description.


str yes new link number (instead of default LINK_SET)
id yes --

Comments

This command is being used to optimize your device performance for high-prim objects.

AdminBot sends events to LINK_SET by default. You can specify exact link number of the prim to optimize performance.

Example

llMessageLinked(LINK_SET, SB_SETUP_SETLINK, "15", NULL_KEY);