BOT_RESET_TOTALCONTROL
From SmartBots Developers Docs
TotalControl for LSLCommands
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Invokes llResetScript() for 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 | Required | Description
| |
---|---|---|---|
str | yes | --- | |
id | yes | --- |
Comments
The command completely resets the TotalControl script (for example, on object owner change). Invokes llResetScript() for TotalControl script. Don't forget to issue BOT_SETUP_SETBOT afterwards.
Example
integer BOT_RESET_TOTALCONTROL = 9997770;
default
{
on_rez(integer param)
{
llMessageLinked(LINK_SET, BOT_RESET_TOTALCONTROL, "", NULL_KEY);
}
}
- BOT RESET TOTALCONTROL