BOT_SETUP_SETLINK

From SmartBots Developers Docs
TotalControl for LSLCommands
Revision as of 01:59, 13 March 2019 by Scullyuk (Talk | contribs) (Updated example)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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

llMessageLinked(LINK_SET, BOT_SETUP_SETLINK, "15", 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 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.

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

Example

integer BOT_SETUP_SETLINK = 280102;

default
{
	state_entry()
	{
		llMessageLinked(LINK_SET, BOT_SETUP_SETLINK, "15", NULL_KEY);
	}
}