llDeleteCharacter/ja
< LlDeleteCharacter
Jump to navigation
Jump to search
Revision as of 18:58, 7 October 2023 by Misaki Vanilla (talk | contribs) (copy from english(Todo: need translate to japanese))
LSL ポータル | 関数 | イベント | 型 | 演算子 | 定数 | 実行制御 | スクリプトライブラリ | カテゴリ別スクリプトライブラリ | チュートリアル |
Summary
Function: llDeleteCharacter( );Convert the object back to a standard object, removing all pathfinding properties.
Examples
create_character()
{
// Clear any previous character behaviors
llDeleteCharacter();
// default speed is 20
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();
}
}