llDeleteCharacter
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: llDeleteCharacter( );Convert the object back to a standard object, removing all pathfinding properties.
Caveats
Examples
<lsl> default {
state_entry() { llDeleteCharacter(); // Remove any previous pathfinding characteristics llCreateCharacter([CHARACTER_DESIRED_SPEED, 10.0]);
llWanderWithin(llGetPos(), 10.0, []); }
touch_end(integer num_detected) { llDeleteCharacter(); // Revert back to a normal prim on touch }
}
</lsl>