49 lines
2.1 KiB
XML
49 lines
2.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--EXPORTED BY TOOL, DON'T MODIFY IT!-->
|
|
<!--Source File: android_chase_to_kill.xml-->
|
|
<behavior name="android_chase_to_kill" agenttype="AndroidAgent" version="5">
|
|
<pars>
|
|
<par name="_$local_task_param_$_0" type="int" value="0" />
|
|
</pars>
|
|
<node class="Task" id="0">
|
|
<property Prototype="Self.BaseAgent::ChaseToKill(0)" />
|
|
<property IsHTN="false" />
|
|
<node class="Sequence" id="1">
|
|
<node class="Assignment" id="9">
|
|
<property CastRight="false" />
|
|
<property Opl="int Self.AndroidAgent::_$local_task_param_$_0" />
|
|
<property Opr="int Self.BaseAgent::find_enemy_target_uniid" />
|
|
</node>
|
|
<node class="Action" id="2">
|
|
<property Method="Self.BaseAgent::SetCurrentTarget(int Self.AndroidAgent::_$local_task_param_$_0)" />
|
|
<property ResultOption="BT_SUCCESS" />
|
|
</node>
|
|
<node class="DecoratorLoop" id="3">
|
|
<property Count="const int -1" />
|
|
<property DecorateWhenChildEnds="true" />
|
|
<property DoneWithinFrame="false" />
|
|
<attachment class="Precondition" id="4" flag="precondition">
|
|
<property BinaryOperator="And" />
|
|
<property Operator="Equal" />
|
|
<property Opl="Self.BaseAgent::CurrentTargetIsValid()" />
|
|
<property Opr2="const bool true" />
|
|
<property Phase="Both" />
|
|
</attachment>
|
|
<node class="IfElse" id="5">
|
|
<node class="Condition" id="6">
|
|
<property Operator="Equal" />
|
|
<property Opl="Self.BaseAgent::CurrentTargetMoveCanReach()" />
|
|
<property Opr="const bool true" />
|
|
</node>
|
|
<node class="ReferencedBehavior" id="8">
|
|
<property ReferenceBehavior="const string "android_attack_new"" />
|
|
</node>
|
|
<node class="Action" id="7">
|
|
<property Method="Self.BaseAgent::CoFindPathToCurrentTarget(100)" />
|
|
<property ResultOption="BT_INVALID" />
|
|
</node>
|
|
</node>
|
|
</node>
|
|
</node>
|
|
</node>
|
|
</behavior> |