d16CVtvcZ77S.xml 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="d16CVtvcZ77S" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="IfElse" id="1">
  5. <node class="Condition" id="2">
  6. <property Operator="Equal"/>
  7. <property Opl="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-爪子数量&quot;)"/>
  8. <property Opr="const float 1"/>
  9. </node>
  10. <node class="Sequence" id="3">
  11. <node class="Assignment" id="4">
  12. <property CastRight="false"/>
  13. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  14. <property Opr="const string &quot;绑定位置&quot;"/>
  15. </node>
  16. <node class="Action" id="5">
  17. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_0&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  18. <property ResultOption="BT_SUCCESS"/>
  19. </node>
  20. <node class="Assignment" id="6">
  21. <property CastRight="false"/>
  22. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  23. <property Opr="const string &quot;&quot;"/>
  24. </node>
  25. <node class="Action" id="7">
  26. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_1&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  27. <property ResultOption="BT_SUCCESS"/>
  28. </node>
  29. <node class="Action" id="8">
  30. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;fRXAwPPOLOmT&quot;,&quot;__ttbt__localVariableIndex_0&quot;,&quot;__ttbt__localVariableIndex_1&quot;,&quot;Zwoz2sbBY01X&quot;)"/>
  31. <property ResultOption="BT_SUCCESS"/>
  32. </node>
  33. <node class="Action" id="9">
  34. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;B2OJqgHbO8DR&quot;,&quot;18&quot;)"/>
  35. <property ResultOption="BT_SUCCESS"/>
  36. </node>
  37. </node>
  38. <node class="Sequence" id="10">
  39. <node class="IfElse" id="11">
  40. <node class="Condition" id="12">
  41. <property Operator="Equal"/>
  42. <property Opl="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-爪子数量&quot;)"/>
  43. <property Opr="const float 2"/>
  44. </node>
  45. <node class="Sequence" id="13">
  46. <node class="Assignment" id="14">
  47. <property CastRight="false"/>
  48. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  49. <property Opr="const string &quot;绑定位置&quot;"/>
  50. </node>
  51. <node class="Action" id="15">
  52. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_2&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  53. <property ResultOption="BT_SUCCESS"/>
  54. </node>
  55. <node class="Assignment" id="16">
  56. <property CastRight="false"/>
  57. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  58. <property Opr="const string &quot;&quot;"/>
  59. </node>
  60. <node class="Action" id="17">
  61. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_3&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  62. <property ResultOption="BT_SUCCESS"/>
  63. </node>
  64. <node class="Action" id="18">
  65. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;oIm4slm1IBr7&quot;,&quot;__ttbt__localVariableIndex_2&quot;,&quot;__ttbt__localVariableIndex_3&quot;,&quot;6G9lwIEuXzQL&quot;)"/>
  66. <property ResultOption="BT_SUCCESS"/>
  67. </node>
  68. <node class="Assignment" id="19">
  69. <property CastRight="false"/>
  70. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  71. <property Opr="const string &quot;绑定位置&quot;"/>
  72. </node>
  73. <node class="Action" id="20">
  74. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_4&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  75. <property ResultOption="BT_SUCCESS"/>
  76. </node>
  77. <node class="Assignment" id="21">
  78. <property CastRight="false"/>
  79. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  80. <property Opr="const string &quot;&quot;"/>
  81. </node>
  82. <node class="Action" id="22">
  83. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_5&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  84. <property ResultOption="BT_SUCCESS"/>
  85. </node>
  86. <node class="Action" id="23">
  87. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;T7UcqPgAzbYX&quot;,&quot;__ttbt__localVariableIndex_4&quot;,&quot;__ttbt__localVariableIndex_5&quot;,&quot;dOo1AgGsFitV&quot;)"/>
  88. <property ResultOption="BT_SUCCESS"/>
  89. </node>
  90. <node class="Action" id="24">
  91. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;WrynkSnHKb96&quot;,&quot;17&quot;)"/>
  92. <property ResultOption="BT_SUCCESS"/>
  93. </node>
  94. </node>
  95. <node class="Sequence" id="25">
  96. <node class="Assignment" id="26">
  97. <property CastRight="false"/>
  98. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  99. <property Opr="const string &quot;绑定位置&quot;"/>
  100. </node>
  101. <node class="Action" id="27">
  102. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_6&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  103. <property ResultOption="BT_SUCCESS"/>
  104. </node>
  105. <node class="Assignment" id="28">
  106. <property CastRight="false"/>
  107. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  108. <property Opr="const string &quot;&quot;"/>
  109. </node>
  110. <node class="Action" id="29">
  111. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_7&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  112. <property ResultOption="BT_SUCCESS"/>
  113. </node>
  114. <node class="Action" id="30">
  115. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;hpJLxukzqJGL&quot;,&quot;__ttbt__localVariableIndex_6&quot;,&quot;__ttbt__localVariableIndex_7&quot;,&quot;eRiNpjKsH3Kc&quot;)"/>
  116. <property ResultOption="BT_SUCCESS"/>
  117. </node>
  118. <node class="Assignment" id="31">
  119. <property CastRight="false"/>
  120. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  121. <property Opr="const string &quot;绑定位置&quot;"/>
  122. </node>
  123. <node class="Action" id="32">
  124. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_8&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  125. <property ResultOption="BT_SUCCESS"/>
  126. </node>
  127. <node class="Assignment" id="33">
  128. <property CastRight="false"/>
  129. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  130. <property Opr="const string &quot;&quot;"/>
  131. </node>
  132. <node class="Action" id="34">
  133. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_9&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  134. <property ResultOption="BT_SUCCESS"/>
  135. </node>
  136. <node class="Action" id="35">
  137. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;rCrUvpJ5yqyS&quot;,&quot;__ttbt__localVariableIndex_8&quot;,&quot;__ttbt__localVariableIndex_9&quot;,&quot;CnpcPeoIuSs7&quot;)"/>
  138. <property ResultOption="BT_SUCCESS"/>
  139. </node>
  140. <node class="Assignment" id="36">
  141. <property CastRight="false"/>
  142. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  143. <property Opr="const string &quot;绑定位置&quot;"/>
  144. </node>
  145. <node class="Action" id="37">
  146. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_10&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  147. <property ResultOption="BT_SUCCESS"/>
  148. </node>
  149. <node class="Assignment" id="38">
  150. <property CastRight="false"/>
  151. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  152. <property Opr="const string &quot;&quot;"/>
  153. </node>
  154. <node class="Action" id="39">
  155. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_11&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  156. <property ResultOption="BT_SUCCESS"/>
  157. </node>
  158. <node class="Action" id="40">
  159. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;k83qpPj6Fhd6&quot;,&quot;__ttbt__localVariableIndex_10&quot;,&quot;__ttbt__localVariableIndex_11&quot;,&quot;CesDlCLeXQxH&quot;)"/>
  160. <property ResultOption="BT_SUCCESS"/>
  161. </node>
  162. <node class="Action" id="41">
  163. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;BZE1S9pfmAmU&quot;,&quot;16&quot;)"/>
  164. <property ResultOption="BT_SUCCESS"/>
  165. </node>
  166. </node>
  167. </node>
  168. </node>
  169. </node>
  170. <node class="Wait" id="42">
  171. <property Time="const float 0.66"/>
  172. </node>
  173. <node class="Assignment" id="43">
  174. <property CastRight="false"/>
  175. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  176. <property Opr="const string &quot;掉落爪子&quot;"/>
  177. </node>
  178. <node class="Action" id="44">
  179. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_12&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  180. <property ResultOption="BT_SUCCESS"/>
  181. </node>
  182. <node class="Action" id="45">
  183. <property Method="Self.red::RedBehaviacTree::notifyDevelopment(&quot;v8hKojdTJky1&quot;,&quot;__ttbt__localVariableIndex_12&quot;)"/>
  184. <property ResultOption="BT_SUCCESS"/>
  185. </node>
  186. <node class="Wait" id="46">
  187. <property Time="const float 2"/>
  188. </node>
  189. <node class="Assignment" id="47">
  190. <property CastRight="false"/>
  191. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  192. <property Opr="const string &quot;播放完成&quot;"/>
  193. </node>
  194. <node class="Action" id="48">
  195. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_13&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  196. <property ResultOption="BT_SUCCESS"/>
  197. </node>
  198. <node class="Action" id="49">
  199. <property Method="Self.red::RedBehaviacTree::notifyDevelopment(&quot;oO4g7lUW2K5o&quot;,&quot;__ttbt__localVariableIndex_13&quot;)"/>
  200. <property ResultOption="BT_SUCCESS"/>
  201. </node>
  202. </node>
  203. </behavior>