Difference between revisions of "LlDeleteCharacter/ja"

From Second Life Wiki
Jump to navigation Jump to search
m
m
 
Line 1: Line 1:
{{LSL_Function/ja
{{LSL_Function/ja
|func=llDeleteCharacter
|func=llDeleteCharacter
|func_desc=Convert the object back to a standard object, removing all pathfinding properties.
|func_desc=オブジェクトを標準のオブジェクトに変換し、すべてのパスファインディングのプロパティを削除
|caveats=
|caveats=
|examples=
|examples=

Latest revision as of 11:49, 22 November 2023

要約

関数: llDeleteCharacter( );

オブジェクトを標準のオブジェクトに変換し、すべてのパスファインディングのプロパティを削除

サンプル

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();
    }
}

特記事項

経緯

Date of Release 31/07/2012

Search JIRA for related Issues

Signature

function void llDeleteCharacter();
この翻訳は 原文 と比べて古いですか?間違いがありますか?読みにくいですか?みんなで 修正 していきましょう! (手順はこちら)
この項目はあなたにとって参考にならない項目ですか?もしかしたらLSL Wikiの関連した項目が参考になるかもしれません。