game2006/server/bin/exported/task/FollowMaster.xml
aozhiwei 6bc89b5f0b 1
2023-10-20 15:49:54 +08:00

34 lines
1.5 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--EXPORTED BY TOOL, DON'T MODIFY IT!-->
<!--Source File: task\FollowMaster.xml-->
<behavior name="task/FollowMaster" agenttype="HeroAgent" version="5">
<pars>
<par name="_$local_task_param_$_0" type="glm::vec3" value="{x=0;y=0;z=0;}" />
<par name="_$local_task_param_$_1" type="float" value="0" />
</pars>
<node class="Task" id="0">
<property Prototype="Self.HeroAgent::FollowMaster({x=0;y=0;z=0;},0)" />
<property IsHTN="false" />
<node class="Sequence" id="1">
<node class="Condition" id="2">
<property Operator="Equal" />
<property Opl="master_agent.MasterAgent::IsValid()" />
<property Opr="const bool true" />
</node>
<node class="Assignment" id="4">
<property CastRight="false" />
<property Opl="glm::vec3 Self.HeroAgent::_$local_task_param_$_0" />
<property Opr="master_agent.MasterAgent::GetPos()" />
</node>
<node class="Assignment" id="5">
<property CastRight="false" />
<property Opl="float Self.HeroAgent::_$local_task_param_$_1" />
<property Opr="Self.BaseAgent::RandRangeAsFloat(80,180)" />
</node>
<node class="Action" id="3">
<property Method="Self.HeroAgent::CoFindPathEx(glm::vec3 Self.HeroAgent::_$local_task_param_$_0,float Self.HeroAgent::_$local_task_param_$_1)" />
<property ResultOption="BT_INVALID" />
</node>
</node>
</node>
</behavior>