123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185 |
- <?xml version="1.0" encoding="UTF-8"?>
- <behavior agenttype="red::RedBehaviacTree" name="fTQpbzUSQGyd" version="5">
- <node class="Sequence" id="0">
- <node class="Action" id="1">
- <property Method="Self.red::RedBehaviacTree::showSelf("5Pfy4wt5jG5s")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="2">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="const float -20"/>
- </node>
- <node class="Action" id="3">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_0",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="4">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="const float 20"/>
- </node>
- <node class="Action" id="5">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_1",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="6">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::randOperator("__ttbt__localVariableIndex_0","__ttbt__localVariableIndex_1")"/>
- </node>
- <node class="Action" id="7">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_2",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Compute" id="8">
- <property Operator="Add"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr1="Self.red::RedBehaviacTree::getCoderFloat("P-收集起点全局X")"/>
- <property Opr2="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_2")"/>
- </node>
- <node class="Action" id="9">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_3",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="10">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_3")"/>
- </node>
- <node class="Assignment" id="11">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::floatToString(float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- </node>
- <node class="Action" id="12">
- <property Method="Self.red::RedBehaviacTree::setCustomDataVar("Cp5ypQ657hqq","随机起点坐标X",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="13">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="const float -30"/>
- </node>
- <node class="Action" id="14">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_4",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="15">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="const float 30"/>
- </node>
- <node class="Action" id="16">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_5",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="17">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::randOperator("__ttbt__localVariableIndex_4","__ttbt__localVariableIndex_5")"/>
- </node>
- <node class="Action" id="18">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_6",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Compute" id="19">
- <property Operator="Add"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr1="Self.red::RedBehaviacTree::getCoderFloat("P-收集起点全局Y")"/>
- <property Opr2="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_6")"/>
- </node>
- <node class="Action" id="20">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_7",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="21">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_7")"/>
- </node>
- <node class="Assignment" id="22">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::floatToString(float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- </node>
- <node class="Action" id="23">
- <property Method="Self.red::RedBehaviacTree::setCustomDataVar("XJfR5omO1dsk","随机起点坐标Y",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="24">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::getCustomFloat("随机起点坐标X")"/>
- </node>
- <node class="Action" id="25">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_8",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="26">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::getCustomFloat("随机起点坐标Y")"/>
- </node>
- <node class="Action" id="27">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_9",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="28">
- <property Method="Self.red::RedBehaviacTree::nodeSetPos("nSj4KKCWWcwy","M6E7pLa6sE5N","__ttbt__localVariableIndex_8","__ttbt__localVariableIndex_9")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="29">
- <property Method="Self.red::RedBehaviacTree::playTimeLineWait("BPqckZAo2ysw","1")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="30">
- <property Method="Self.red::RedBehaviacTree::getTimeLineState("1")"/>
- <property ResultOption="BT_INVALID"/>
- </node>
- <node class="Action" id="31">
- <property Method="Self.red::RedBehaviacTree::playTimeLine("ZAAOIiqnZisJ","0")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="32">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::getCustomFloat("随机起点坐标X")"/>
- </node>
- <node class="Action" id="33">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_10",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="34">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::getCustomFloat("随机起点坐标Y")"/>
- </node>
- <node class="Action" id="35">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_11",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="36">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::getCoderFloat("P-收集终点全局X")"/>
- </node>
- <node class="Action" id="37">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_12",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="38">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::getCoderFloat("P-收集终点全局Y")"/>
- </node>
- <node class="Action" id="39">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_13",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="40">
- <property Method="Self.red::RedBehaviacTree::nodeSetAnimActionWithCallBack("lpiCtxqKuful","M6E7pLa6sE5N","收集动画_金币.anim","Zg2TjgWPGTMx","__ttbt__localVariableIndex_10","__ttbt__localVariableIndex_11","__ttbt__localVariableIndex_12","__ttbt__localVariableIndex_13")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- </node>
- </behavior>
|