s9nrNs1WSYfg.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="s9nrNs1WSYfg" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="Action" id="1">
  5. <property Method="Self.red::RedBehaviacTree::hiddenNode(&quot;982KRQf5drjU&quot;,&quot;mU1D10PQC8TL&quot;)"/>
  6. <property ResultOption="BT_SUCCESS"/>
  7. </node>
  8. <node class="Action" id="2">
  9. <property Method="Self.red::RedBehaviacTree::hiddenNode(&quot;huXB5asTSJrp&quot;,&quot;1LBYsJgSmGXF&quot;)"/>
  10. <property ResultOption="BT_SUCCESS"/>
  11. </node>
  12. <node class="Action" id="3">
  13. <property Method="Self.red::RedBehaviacTree::hiddenNode(&quot;2LEXFtxvYH4Z&quot;,&quot;Xc5YJgqZLfZ6&quot;)"/>
  14. <property ResultOption="BT_SUCCESS"/>
  15. </node>
  16. <node class="Assignment" id="10">
  17. <property CastRight="true"/>
  18. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  19. <property Opr="Self.red::RedBehaviacTree::nodeGetPosY(&quot;9iOLyYlAsa94&quot;)"/>
  20. </node>
  21. <node class="Action" id="11">
  22. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_3&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  23. <property ResultOption="BT_SUCCESS"/>
  24. </node>
  25. <node class="Compute" id="6">
  26. <property Operator="Mul"/>
  27. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  28. <property Opr1="Self.red::RedBehaviacTree::getCustomFloat(&quot;基本距离&quot;)"/>
  29. <property Opr2="const float 1.5"/>
  30. </node>
  31. <node class="Action" id="7">
  32. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_1&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  33. <property ResultOption="BT_SUCCESS"/>
  34. </node>
  35. <node class="Assignment" id="4">
  36. <property CastRight="true"/>
  37. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  38. <property Opr="Self.red::RedBehaviacTree::nodeGetPosX(&quot;9iOLyYlAsa94&quot;)"/>
  39. </node>
  40. <node class="Action" id="5">
  41. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_0&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  42. <property ResultOption="BT_SUCCESS"/>
  43. </node>
  44. <node class="Compute" id="8">
  45. <property Operator="Add"/>
  46. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  47. <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_0&quot;)"/>
  48. <property Opr2="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_1&quot;)"/>
  49. </node>
  50. <node class="Action" id="9">
  51. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_2&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  52. <property ResultOption="BT_SUCCESS"/>
  53. </node>
  54. <node class="Assignment" id="12">
  55. <property CastRight="true"/>
  56. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  57. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_2&quot;)"/>
  58. </node>
  59. <node class="Action" id="13">
  60. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_4&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  61. <property ResultOption="BT_SUCCESS"/>
  62. </node>
  63. <node class="Assignment" id="14">
  64. <property CastRight="true"/>
  65. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  66. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_3&quot;)"/>
  67. </node>
  68. <node class="Action" id="15">
  69. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_5&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  70. <property ResultOption="BT_SUCCESS"/>
  71. </node>
  72. <node class="Action" id="16">
  73. <property Method="Self.red::RedBehaviacTree::nodeSetPos(&quot;qQUqGZlvmRub&quot;,&quot;9iOLyYlAsa94&quot;,&quot;__ttbt__localVariableIndex_4&quot;,&quot;__ttbt__localVariableIndex_5&quot;)"/>
  74. <property ResultOption="BT_SUCCESS"/>
  75. </node>
  76. <node class="Assignment" id="23">
  77. <property CastRight="true"/>
  78. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  79. <property Opr="Self.red::RedBehaviacTree::nodeGetPosY(&quot;VNIdHwrsM4vS&quot;)"/>
  80. </node>
  81. <node class="Action" id="24">
  82. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_9&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  83. <property ResultOption="BT_SUCCESS"/>
  84. </node>
  85. <node class="Compute" id="19">
  86. <property Operator="Mul"/>
  87. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  88. <property Opr1="Self.red::RedBehaviacTree::getCustomFloat(&quot;基本距离&quot;)"/>
  89. <property Opr2="const float 1.5"/>
  90. </node>
  91. <node class="Action" id="20">
  92. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_7&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  93. <property ResultOption="BT_SUCCESS"/>
  94. </node>
  95. <node class="Assignment" id="17">
  96. <property CastRight="true"/>
  97. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  98. <property Opr="Self.red::RedBehaviacTree::nodeGetPosX(&quot;VNIdHwrsM4vS&quot;)"/>
  99. </node>
  100. <node class="Action" id="18">
  101. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_6&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  102. <property ResultOption="BT_SUCCESS"/>
  103. </node>
  104. <node class="Compute" id="21">
  105. <property Operator="Add"/>
  106. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  107. <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_6&quot;)"/>
  108. <property Opr2="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_7&quot;)"/>
  109. </node>
  110. <node class="Action" id="22">
  111. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_8&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  112. <property ResultOption="BT_SUCCESS"/>
  113. </node>
  114. <node class="Assignment" id="25">
  115. <property CastRight="true"/>
  116. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  117. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_8&quot;)"/>
  118. </node>
  119. <node class="Action" id="26">
  120. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_10&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  121. <property ResultOption="BT_SUCCESS"/>
  122. </node>
  123. <node class="Assignment" id="27">
  124. <property CastRight="true"/>
  125. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  126. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_9&quot;)"/>
  127. </node>
  128. <node class="Action" id="28">
  129. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_11&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  130. <property ResultOption="BT_SUCCESS"/>
  131. </node>
  132. <node class="Action" id="29">
  133. <property Method="Self.red::RedBehaviacTree::nodeSetPos(&quot;1E3GtlyCmmLK&quot;,&quot;VNIdHwrsM4vS&quot;,&quot;__ttbt__localVariableIndex_10&quot;,&quot;__ttbt__localVariableIndex_11&quot;)"/>
  134. <property ResultOption="BT_SUCCESS"/>
  135. </node>
  136. <node class="Assignment" id="36">
  137. <property CastRight="true"/>
  138. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  139. <property Opr="Self.red::RedBehaviacTree::nodeGetPosY(&quot;mTUaTrpwdWxD&quot;)"/>
  140. </node>
  141. <node class="Action" id="37">
  142. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_15&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  143. <property ResultOption="BT_SUCCESS"/>
  144. </node>
  145. <node class="Compute" id="32">
  146. <property Operator="Mul"/>
  147. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  148. <property Opr1="Self.red::RedBehaviacTree::getCustomFloat(&quot;基本距离&quot;)"/>
  149. <property Opr2="const float 1.5"/>
  150. </node>
  151. <node class="Action" id="33">
  152. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_13&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  153. <property ResultOption="BT_SUCCESS"/>
  154. </node>
  155. <node class="Assignment" id="30">
  156. <property CastRight="true"/>
  157. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  158. <property Opr="Self.red::RedBehaviacTree::nodeGetPosX(&quot;mTUaTrpwdWxD&quot;)"/>
  159. </node>
  160. <node class="Action" id="31">
  161. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_12&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  162. <property ResultOption="BT_SUCCESS"/>
  163. </node>
  164. <node class="Compute" id="34">
  165. <property Operator="Add"/>
  166. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  167. <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_12&quot;)"/>
  168. <property Opr2="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_13&quot;)"/>
  169. </node>
  170. <node class="Action" id="35">
  171. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_14&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  172. <property ResultOption="BT_SUCCESS"/>
  173. </node>
  174. <node class="Assignment" id="38">
  175. <property CastRight="true"/>
  176. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  177. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_14&quot;)"/>
  178. </node>
  179. <node class="Action" id="39">
  180. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_16&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  181. <property ResultOption="BT_SUCCESS"/>
  182. </node>
  183. <node class="Assignment" id="40">
  184. <property CastRight="true"/>
  185. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  186. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_15&quot;)"/>
  187. </node>
  188. <node class="Action" id="41">
  189. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_17&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  190. <property ResultOption="BT_SUCCESS"/>
  191. </node>
  192. <node class="Action" id="42">
  193. <property Method="Self.red::RedBehaviacTree::nodeSetPos(&quot;A8Zgg0hQBhKF&quot;,&quot;mTUaTrpwdWxD&quot;,&quot;__ttbt__localVariableIndex_16&quot;,&quot;__ttbt__localVariableIndex_17&quot;)"/>
  194. <property ResultOption="BT_SUCCESS"/>
  195. </node>
  196. </node>
  197. </behavior>