SB_SETUP_SETLINK

From SmartBots Developers Docs
AdminBot for LSLCommands
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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