Difference between revisions of "LlEvade/ja"

From Second Life Wiki
Jump to navigation Jump to search
(copy from english(Todo: need translate to japanese))
 
m
Line 1: Line 1:
{{LSL_Function
{{LSL_Function/ja
|inject-2={{LSL Function/uuid|target|object=*}}
|inject-2={{LSL Function/uuid|target|object=*}}
|func=llEvade
|func=llEvade
Line 49: Line 49:
</source>
</source>
|also_functions=
|also_functions=
* [[llCreateCharacter]]
* [[llCreateCharacter/ja]]
* [[llDeleteCharacter]]
* [[llDeleteCharacter/ja]]
* [[llEvade]]
* [[llEvade/ja]]
* [[llExecCharacterCmd]]
* [[llExecCharacterCmd/ja]]
* [[llGetClosestNavPoint]]
* [[llGetClosestNavPoint/ja]]
* [[llFleeFrom]]
* [[llFleeFrom/ja]]
* [[llNavigateTo]]
* [[llNavigateTo/ja]]
* [[llPatrolPoints]]
* [[llPatrolPoints/ja]]
* [[llPursue]]
* [[llPursue/ja]]
* [[llUpdateCharacter]]
* [[llUpdateCharacter/ja]]
* [[llWanderWithin]]
* [[llWanderWithin/ja]]
|also_events=
|also_events=
* [[path_update]]
* [[path_update/ja]]
|history = Date of Release  [[ Release_Notes/Second_Life_Server/12#12.07.31.262785 | 31/07/2012 ]]
|history = Date of Release  [[ Release_Notes/Second_Life_Server/12#12.07.31.262785 | 31/07/2012 ]]
|cat1=Pathfinding
|cat1=Pathfinding
}}
}}

Revision as of 13:43, 2 November 2023

要約

関数: llEvade( key target, list options );

Characters will (roughly) try to hide from their pursuers if there is a good hiding spot along their fleeing path. Hiding means no direct line of sight from the head of the character (center of the top of its physics bounding box) to the head of its pursuer and no direct path between the two on the navmesh.

• key target group, avatar or object UUID to evade
• list options No options currently available

警告

  • Must use llCreateCharacter or script will not compile.
  • If the target is an object, it must be unlinked or be the root prim of a linkset.
All Issues ~ Search JIRA for related Bugs

サンプル

vector start_position;

default
{
    on_rez(integer start_param)
    {
        llResetScript();
    }

    state_entry()
    {
        llDeleteCharacter();
        llCreateCharacter([CHARACTER_MAX_SPEED, 25, CHARACTER_DESIRED_SPEED, 15.0]);

        start_position = llGetPos();
        llWanderWithin(start_position, <10.0, 10.0, 2.0>, [] );
    }
 
    touch_start(integer num_detected)
    {
        llEvade(llDetectedKey(0), []);
        llSetTimerEvent(20.0);
    }

    timer()
    {
    //  do not keep running away...
        llSetTimerEvent(0.0);

        llWanderWithin(start_position, <10.0, 10.0, 2.0>, [] );
    }
}

特記事項

経緯

Date of Release 31/07/2012

Search JIRA for related Issues

Signature

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