Tuesday 29 March 2011

Sample Aurora NPC Scripts: Remove a bot from the sim

In order to use this one you need to know the UUID of the bot you want to nuke. If you're nuking a single bot, right click on it, use profile and then "get key" if you're in imprudence. Then copy the UUID in here and nuke it.

Another possibility might be to generate the list of UUIDs and step through each one of them at a time and nuke them all.

default
{
state_entry()
{
llSetText("Zap bot by UUID", <1,0,0>, 1.0);
}
touch_start(integer a)
{
string bot = "c8269ef3-873d-4b68-a667-a2938ffc90af"; //llGetObjectDesc();
botRemoveBot(bot);
}
}

No comments:

Post a Comment