123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- <?xml version="1.0" encoding="UTF-8"?>
- <behavior agenttype="red::RedBehaviacTree" name="dueJaa1PcTTZ" version="5">
- <node class="Sequence" id="0">
- <node class="Assignment" id="2">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getCoderString("P-taskName")"/>
- </node>
- <node class="Action" id="3">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_0",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="4">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="const string "butterfly""/>
- </node>
- <node class="Action" id="5">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_1",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="IfElse" id="1">
- <node class="Condition" id="6">
- <property Operator="Equal"/>
- <property Opl="Self.red::RedBehaviacTree::stringEqual("__ttbt__localVariableIndex_0","__ttbt__localVariableIndex_1")"/>
- <property Opr="const bool true"/>
- </node>
- <node class="Sequence" id="7">
- <node class="Action" id="8">
- <property Method="Self.red::RedBehaviacTree::showNode("QWN0Y7qXzRra","Oa5OYE0vIBmi")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="9">
- <property Method="Self.red::RedBehaviacTree::hiddenNode("6PsEyAUbuQaw","xLqHVBVNSKOq")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="10">
- <property Method="Self.red::RedBehaviacTree::hiddenNode("KhdvslgqpsNM","Iu9WVBwV1FcJ")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="11">
- <property Method="Self.red::RedBehaviacTree::showNode("bXu9ikKQaulT","MWGg8Gw25xbT")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="12">
- <property Method="Self.red::RedBehaviacTree::hiddenNode("V2ArL06tsCtg","eT5g3083mJDd")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="13">
- <property Method="Self.red::RedBehaviacTree::hiddenNode("VA2KXZrBp750","rMATpD0AOQD8")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="18">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::nodeGetPosY("SjbcJIofDCYw")"/>
- </node>
- <node class="Action" id="19">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_4",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="14">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::nodeGetPosX("SjbcJIofDCYw")"/>
- </node>
- <node class="Action" id="15">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_2",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Compute" id="16">
- <property Operator="Sub"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_2")"/>
- <property Opr2="const float 4"/>
- </node>
- <node class="Action" id="17">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_3",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="20">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_3")"/>
- </node>
- <node class="Action" id="21">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_5",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="22">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_4")"/>
- </node>
- <node class="Action" id="23">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_6",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="24">
- <property Method="Self.red::RedBehaviacTree::nodeSetPos("TNqizKG5wbLH","SjbcJIofDCYw","__ttbt__localVariableIndex_5","__ttbt__localVariableIndex_6")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- </node>
- <node class="Sequence" id="25">
- <node class="Action" id="26">
- <property Method="Self.red::RedBehaviacTree::showNode("mbQvXSvaTPCH","xLqHVBVNSKOq")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="27">
- <property Method="Self.red::RedBehaviacTree::hiddenNode("LsCzbVbNChqu","Oa5OYE0vIBmi")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="28">
- <property Method="Self.red::RedBehaviacTree::hiddenNode("74eoKXjjh8OL","MWGg8Gw25xbT")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="29">
- <property Method="Self.red::RedBehaviacTree::showNode("tlvDhOvop26A","Iu9WVBwV1FcJ")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- </node>
- </node>
- <node class="Assignment" id="30">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="const string "绑定shellPng""/>
- </node>
- <node class="Action" id="31">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_7",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="32">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="const string """/>
- </node>
- <node class="Action" id="33">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_8",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="34">
- <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode("RedegEvP3wqe","__ttbt__localVariableIndex_7","__ttbt__localVariableIndex_8","xLqHVBVNSKOq")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="35">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getCoderString("P-收集数量")"/>
- </node>
- <node class="Action" id="36">
- <property Method="Self.red::RedBehaviacTree::setCustomDataVar("T07QTMtObA7N","tCollected",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="37">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getCustomString("tCollected")"/>
- </node>
- <node class="Action" id="38">
- <property Method="Self.red::RedBehaviacTree::setLabelTitle("3MW2J1DIrIjB","SjbcJIofDCYw",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="39">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getCoderString("P-tTotal")"/>
- </node>
- <node class="Action" id="40">
- <property Method="Self.red::RedBehaviacTree::setLabelTitle("oO8zniSExIHB","rMATpD0AOQD8",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="41">
- <property Method="Self.red::RedBehaviacTree::playTimeLine("O3sRcA5eEgxg","1")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- </node>
- </behavior>
|