BOT_RESET_TOTALCONTROL

Invokes llResetScript() for the TotalControl script.

llMessageLinked(LINK_SET, BOT_RESET_TOTALCONTROL, "", NULL_KEY);

Variables

The following table shows input values (you send them with the API call) and returned output values.

Variable

Description

str

id


Comments

This command completely resets the TotalControl script — for example, after an object owner change.
It effectively calls llResetScript() for the TotalControl script.

Don’t forget to issue the "BOT_SETUP_SETBOT" command afterwards.


Example

integer BOT_RESET_TOTALCONTROL = 9997770;

default
{
	on_rez(integer param)
	{
		llMessageLinked(LINK_SET, BOT_RESET_TOTALCONTROL, "", NULL_KEY);
	}
}