GDJgWy1YCj0F.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="GDJgWy1YCj0F" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="Action" id="1">
  5. <property Method="Self.red::RedBehaviacTree::showSelf(&quot;nxNI6rY8hMXn&quot;)"/>
  6. <property ResultOption="BT_SUCCESS"/>
  7. </node>
  8. <node class="Assignment" id="2">
  9. <property CastRight="true"/>
  10. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  11. <property Opr="const float -20"/>
  12. </node>
  13. <node class="Action" id="3">
  14. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_0&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  15. <property ResultOption="BT_SUCCESS"/>
  16. </node>
  17. <node class="Assignment" id="4">
  18. <property CastRight="true"/>
  19. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  20. <property Opr="const float 20"/>
  21. </node>
  22. <node class="Action" id="5">
  23. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_1&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  24. <property ResultOption="BT_SUCCESS"/>
  25. </node>
  26. <node class="Assignment" id="6">
  27. <property CastRight="true"/>
  28. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  29. <property Opr="Self.red::RedBehaviacTree::randOperator(&quot;__ttbt__localVariableIndex_0&quot;,&quot;__ttbt__localVariableIndex_1&quot;)"/>
  30. </node>
  31. <node class="Action" id="7">
  32. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_2&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  33. <property ResultOption="BT_SUCCESS"/>
  34. </node>
  35. <node class="Compute" id="8">
  36. <property Operator="Add"/>
  37. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  38. <property Opr1="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-收集起点全局X&quot;)"/>
  39. <property Opr2="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_2&quot;)"/>
  40. </node>
  41. <node class="Action" id="9">
  42. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_3&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  43. <property ResultOption="BT_SUCCESS"/>
  44. </node>
  45. <node class="Assignment" id="10">
  46. <property CastRight="true"/>
  47. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  48. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_3&quot;)"/>
  49. </node>
  50. <node class="Assignment" id="11">
  51. <property CastRight="false"/>
  52. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  53. <property Opr="Self.red::RedBehaviacTree::floatToString(float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  54. </node>
  55. <node class="Action" id="12">
  56. <property Method="Self.red::RedBehaviacTree::setCustomDataVar(&quot;UMxswWPiJpiB&quot;,&quot;随机起点坐标X&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  57. <property ResultOption="BT_SUCCESS"/>
  58. </node>
  59. <node class="Assignment" id="13">
  60. <property CastRight="true"/>
  61. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  62. <property Opr="const float -30"/>
  63. </node>
  64. <node class="Action" id="14">
  65. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_4&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  66. <property ResultOption="BT_SUCCESS"/>
  67. </node>
  68. <node class="Assignment" id="15">
  69. <property CastRight="true"/>
  70. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  71. <property Opr="const float 30"/>
  72. </node>
  73. <node class="Action" id="16">
  74. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_5&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  75. <property ResultOption="BT_SUCCESS"/>
  76. </node>
  77. <node class="Assignment" id="17">
  78. <property CastRight="true"/>
  79. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  80. <property Opr="Self.red::RedBehaviacTree::randOperator(&quot;__ttbt__localVariableIndex_4&quot;,&quot;__ttbt__localVariableIndex_5&quot;)"/>
  81. </node>
  82. <node class="Action" id="18">
  83. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_6&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  84. <property ResultOption="BT_SUCCESS"/>
  85. </node>
  86. <node class="Compute" id="19">
  87. <property Operator="Add"/>
  88. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  89. <property Opr1="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-收集起点全局Y&quot;)"/>
  90. <property Opr2="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_6&quot;)"/>
  91. </node>
  92. <node class="Action" id="20">
  93. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_7&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  94. <property ResultOption="BT_SUCCESS"/>
  95. </node>
  96. <node class="Assignment" id="21">
  97. <property CastRight="true"/>
  98. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  99. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_7&quot;)"/>
  100. </node>
  101. <node class="Assignment" id="22">
  102. <property CastRight="false"/>
  103. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  104. <property Opr="Self.red::RedBehaviacTree::floatToString(float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  105. </node>
  106. <node class="Action" id="23">
  107. <property Method="Self.red::RedBehaviacTree::setCustomDataVar(&quot;2zDq5RzpT1aa&quot;,&quot;随机起点坐标Y&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  108. <property ResultOption="BT_SUCCESS"/>
  109. </node>
  110. <node class="Assignment" id="24">
  111. <property CastRight="true"/>
  112. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  113. <property Opr="Self.red::RedBehaviacTree::getCustomFloat(&quot;随机起点坐标X&quot;)"/>
  114. </node>
  115. <node class="Action" id="25">
  116. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_8&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  117. <property ResultOption="BT_SUCCESS"/>
  118. </node>
  119. <node class="Assignment" id="26">
  120. <property CastRight="true"/>
  121. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  122. <property Opr="Self.red::RedBehaviacTree::getCustomFloat(&quot;随机起点坐标Y&quot;)"/>
  123. </node>
  124. <node class="Action" id="27">
  125. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_9&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  126. <property ResultOption="BT_SUCCESS"/>
  127. </node>
  128. <node class="Action" id="28">
  129. <property Method="Self.red::RedBehaviacTree::nodeSetPos(&quot;tOaoSYEK6I4b&quot;,&quot;IwXpNV4gPFhv&quot;,&quot;__ttbt__localVariableIndex_8&quot;,&quot;__ttbt__localVariableIndex_9&quot;)"/>
  130. <property ResultOption="BT_SUCCESS"/>
  131. </node>
  132. <node class="Action" id="29">
  133. <property Method="Self.red::RedBehaviacTree::playTimeLineWait(&quot;0oOFoTT5jlbD&quot;,&quot;1&quot;)"/>
  134. <property ResultOption="BT_SUCCESS"/>
  135. </node>
  136. <node class="Action" id="30">
  137. <property Method="Self.red::RedBehaviacTree::getTimeLineState(&quot;1&quot;)"/>
  138. <property ResultOption="BT_INVALID"/>
  139. </node>
  140. <node class="Action" id="31">
  141. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;Fteg0gFqZ9gT&quot;,&quot;0&quot;)"/>
  142. <property ResultOption="BT_SUCCESS"/>
  143. </node>
  144. <node class="Assignment" id="32">
  145. <property CastRight="true"/>
  146. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  147. <property Opr="Self.red::RedBehaviacTree::getCustomFloat(&quot;随机起点坐标X&quot;)"/>
  148. </node>
  149. <node class="Action" id="33">
  150. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_10&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  151. <property ResultOption="BT_SUCCESS"/>
  152. </node>
  153. <node class="Assignment" id="34">
  154. <property CastRight="true"/>
  155. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  156. <property Opr="Self.red::RedBehaviacTree::getCustomFloat(&quot;随机起点坐标Y&quot;)"/>
  157. </node>
  158. <node class="Action" id="35">
  159. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_11&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  160. <property ResultOption="BT_SUCCESS"/>
  161. </node>
  162. <node class="Assignment" id="36">
  163. <property CastRight="true"/>
  164. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  165. <property Opr="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-收集终点全局X&quot;)"/>
  166. </node>
  167. <node class="Action" id="37">
  168. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_12&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  169. <property ResultOption="BT_SUCCESS"/>
  170. </node>
  171. <node class="Assignment" id="38">
  172. <property CastRight="true"/>
  173. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  174. <property Opr="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-收集终点全局Y&quot;)"/>
  175. </node>
  176. <node class="Action" id="39">
  177. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_13&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  178. <property ResultOption="BT_SUCCESS"/>
  179. </node>
  180. <node class="Action" id="40">
  181. <property Method="Self.red::RedBehaviacTree::nodeSetAnimActionWithCallBack(&quot;ZKrV7jhLeTHD&quot;,&quot;IwXpNV4gPFhv&quot;,&quot;收集动画_金币.anim&quot;,&quot;tWuKngmICao0&quot;,&quot;__ttbt__localVariableIndex_10&quot;,&quot;__ttbt__localVariableIndex_11&quot;,&quot;__ttbt__localVariableIndex_12&quot;,&quot;__ttbt__localVariableIndex_13&quot;)"/>
  182. <property ResultOption="BT_SUCCESS"/>
  183. </node>
  184. </node>
  185. </behavior>