Difference between revisions of "LlDeleteCharacter"
Jump to navigation
Jump to search
m |
|||
Line 1: | Line 1: | ||
{{Pathfinding alpha}} | {{Pathfinding alpha}} | ||
{{LSL_Function| | {{LSL_Function | ||
func=llDeleteCharacter| | |func=llDeleteCharacter | ||
func_desc=Convert the | |func_desc=Convert the object back to a standard object, removing all pathfinding properties. | ||
caveats=None| | |caveats=None | ||
examples= | |examples= | ||
<lsl> | <lsl> | ||
default | default | ||
Line 21: | Line 21: | ||
} | } | ||
} | } | ||
</lsl>| | </lsl> | ||
also_functions= | |also_functions= | ||
* [[llCreateCharacter]] | * [[llCreateCharacter]] | ||
* [[llDeleteCharacter]] | * [[llDeleteCharacter]] | ||
Line 33: | Line 33: | ||
* [[llPursue]] | * [[llPursue]] | ||
* [[llUpdateCharacter]] | * [[llUpdateCharacter]] | ||
* [[llWanderWithin]]| | * [[llWanderWithin]] | ||
also_events= | |also_events= | ||
* [[path_update]] | * [[path_update]] | ||
}} | }} |
Revision as of 10:11, 27 June 2012
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>