1
This commit is contained in:
parent
9082954570
commit
2a1eea9d32
76
server/bin/exported/task/Pickup.xml
Normal file
76
server/bin/exported/task/Pickup.xml
Normal file
@ -0,0 +1,76 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--EXPORTED BY TOOL, DON'T MODIFY IT!-->
|
||||
<!--Source File: task\Pickup.xml-->
|
||||
<behavior name="task/Pickup" agenttype="HeroAgent" version="5">
|
||||
<pars>
|
||||
<par name="_$local_task_param_$_0" type="int" value="0" />
|
||||
<par name="_$local_task_param_$_1" type="int" value="0" />
|
||||
<par name="_$local_task_param_$_2" type="glm::vec3" value="{x=0;y=0;z=0;}" />
|
||||
</pars>
|
||||
<node class="Task" id="0">
|
||||
<property Prototype="Self.HeroAgent::PickupItem(0,0,{x=0;y=0;z=0;})" />
|
||||
<property IsHTN="false" />
|
||||
<node class="IfElse" id="1">
|
||||
<node class="Condition" id="2">
|
||||
<property Operator="Equal" />
|
||||
<property Opl="Self.HeroAgent::SearchPickupObj()" />
|
||||
<property Opr="const int 0" />
|
||||
</node>
|
||||
<node class="Noop" id="3" />
|
||||
<node class="Sequence" id="4">
|
||||
<node class="Assignment" id="15">
|
||||
<property CastRight="false" />
|
||||
<property Opl="int Self.HeroAgent::_$local_task_param_$_0" />
|
||||
<property Opr="const int 0" />
|
||||
</node>
|
||||
<node class="Parallel" id="5">
|
||||
<property ChildFinishPolicy="CHILDFINISH_ONCE" />
|
||||
<property ExitPolicy="EXIT_NONE" />
|
||||
<property FailurePolicy="FAIL_ON_ONE" />
|
||||
<property SuccessPolicy="SUCCEED_ON_ALL" />
|
||||
<node class="Sequence" id="7">
|
||||
<node class="Action" id="6">
|
||||
<property Method="Self.HeroAgent::CoFindPath(glm::vec3 Self.HeroAgent::out_point0)" />
|
||||
<property ResultOption="BT_INVALID" />
|
||||
</node>
|
||||
<node class="Action" id="8">
|
||||
<property Method="Self.HeroAgent::Pickup()" />
|
||||
<property ResultOption="BT_INVALID" />
|
||||
</node>
|
||||
</node>
|
||||
<node class="DecoratorLoop" id="9">
|
||||
<property Count="const int -1" />
|
||||
<property DecorateWhenChildEnds="true" />
|
||||
<property DoneWithinFrame="false" />
|
||||
<attachment class="Precondition" id="16" flag="precondition">
|
||||
<property BinaryOperator="And" />
|
||||
<property Operator="Equal" />
|
||||
<property Opl="int Self.HeroAgent::_$local_task_param_$_0" />
|
||||
<property Opr2="const int 0" />
|
||||
<property Phase="Both" />
|
||||
</attachment>
|
||||
<node class="IfElse" id="10">
|
||||
<node class="Condition" id="11">
|
||||
<property Operator="Equal" />
|
||||
<property Opl="Self.HeroAgent::PickupObjIsValid()" />
|
||||
<property Opr="const bool true" />
|
||||
</node>
|
||||
<node class="True" id="12" />
|
||||
<node class="Sequence" id="13">
|
||||
<node class="Action" id="14">
|
||||
<property Method="Self.BaseAgent::AbortCoroutine(kCoFindPath)" />
|
||||
<property ResultOption="BT_SUCCESS" />
|
||||
</node>
|
||||
<node class="Assignment" id="17">
|
||||
<property CastRight="false" />
|
||||
<property Opl="int Self.HeroAgent::_$local_task_param_$_0" />
|
||||
<property Opr="const int 1" />
|
||||
</node>
|
||||
</node>
|
||||
</node>
|
||||
</node>
|
||||
</node>
|
||||
</node>
|
||||
</node>
|
||||
</node>
|
||||
</behavior>
|
Loading…
x
Reference in New Issue
Block a user