Difference between revisions of "LlDeleteCharacter"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with "{{Pathfinding alpha}} {{LSL_Function| func=llDeleteCharacter| func_desc=Convert the current linkset back to a standard object, removing all pathfinding properties.| caveats=None|…")
 
Line 22: Line 22:
}
}
</lsl>|
</lsl>|
also_functions=* [[llCreateCharacter]]
also_functions=
* [[llCreateCharacter]]
* [[llDeleteCharacter]]
* [[llEvade]]
* [[llExecPathingCmd]]
* [[llGetClosestNavPoint]]
* [[llFleeFrom]]
* [[llNavigateTo]]
* [[llPatrolPoints]]
* [[llPursue]]
* [[llUpdateCharacter]]
* [[llWanderWithin]]|
also_events=
* [[path_update]]
}}
}}

Revision as of 13:52, 14 February 2012

Summary

Function: llDeleteCharacter( );

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

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>

Deep Notes

Search JIRA for related Issues

Signature

function void llDeleteCharacter();