Skip to content
lsl.devlsl.devLSL Dev

llDeleteCharacter

function
Function syntax
llDeleteCharacter();
Energy
10

Converts the linkset back to a standard physical object, removing all pathfinding properties.

Convert the object back to a standard object, removing all pathfinding properties.

How to use
llDeleteCharacter();
Example 1
create_character()
{
// Clear any previous character behaviors
llDeleteCharacter();
// default speed is 20
17 collapsed lines
llCreateCharacter([CHARACTER_DESIRED_SPEED, 10.0]);
llWanderWithin(llGetPos(), <10.0, 10.0, 2.0>, []);
}
default
{
on_rez(integer start_param)
{
llResetScript();
}
state_entry()
{
create_character();
}
touch_start(integer num_detected)
{
// Clear any previous character behaviors
llDeleteCharacter();
}
}

Date of Release 31/07/2012

Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.

From the Second Life Wiki

Community documentation adapted from LlDeleteCharacter, by Linden Research, Inc. and contributing residents.View contributors and history.

Imported wiki revision:

Licensed under CC BY-SA 3.0. Last wiki edit: .Formatting and links have been adapted for this site; API metadata follows the LSL definitions.