tb3n3jG2e9ey.xml 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="tb3n3jG2e9ey" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="Assignment" id="1">
  5. <property CastRight="false"/>
  6. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  7. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;当前数量&quot;)"/>
  8. </node>
  9. <node class="Action" id="2">
  10. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_0&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  11. <property ResultOption="BT_SUCCESS"/>
  12. </node>
  13. <node class="Assignment" id="3">
  14. <property CastRight="false"/>
  15. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  16. <property Opr="const string &quot;/&quot;"/>
  17. </node>
  18. <node class="Action" id="4">
  19. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_1&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  20. <property ResultOption="BT_SUCCESS"/>
  21. </node>
  22. <node class="Assignment" id="5">
  23. <property CastRight="false"/>
  24. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  25. <property Opr="Self.red::RedBehaviacTree::stringLink(&quot;__ttbt__localVariableIndex_0&quot;,&quot;__ttbt__localVariableIndex_1&quot;)"/>
  26. </node>
  27. <node class="Action" id="6">
  28. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_2&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  29. <property ResultOption="BT_SUCCESS"/>
  30. </node>
  31. <node class="Assignment" id="7">
  32. <property CastRight="false"/>
  33. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  34. <property Opr="Self.red::RedBehaviacTree::getLocalTreeString(&quot;__ttbt__localVariableIndex_2&quot;)"/>
  35. </node>
  36. <node class="Action" id="8">
  37. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_3&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  38. <property ResultOption="BT_SUCCESS"/>
  39. </node>
  40. <node class="Assignment" id="9">
  41. <property CastRight="false"/>
  42. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  43. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;总数量&quot;)"/>
  44. </node>
  45. <node class="Action" id="10">
  46. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_4&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  47. <property ResultOption="BT_SUCCESS"/>
  48. </node>
  49. <node class="Assignment" id="11">
  50. <property CastRight="false"/>
  51. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  52. <property Opr="Self.red::RedBehaviacTree::stringLink(&quot;__ttbt__localVariableIndex_3&quot;,&quot;__ttbt__localVariableIndex_4&quot;)"/>
  53. </node>
  54. <node class="Action" id="12">
  55. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_5&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  56. <property ResultOption="BT_SUCCESS"/>
  57. </node>
  58. <node class="Assignment" id="13">
  59. <property CastRight="false"/>
  60. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  61. <property Opr="Self.red::RedBehaviacTree::getLocalTreeString(&quot;__ttbt__localVariableIndex_5&quot;)"/>
  62. </node>
  63. <node class="Action" id="14">
  64. <property Method="Self.red::RedBehaviacTree::setLabelTitle(&quot;QQbWFAgFYX8a&quot;,&quot;9OIzWRy6AXd5&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  65. <property ResultOption="BT_SUCCESS"/>
  66. </node>
  67. <node class="Assignment" id="15">
  68. <property CastRight="false"/>
  69. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  70. <property Opr="const string &quot;You collected &quot;"/>
  71. </node>
  72. <node class="Action" id="16">
  73. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_6&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  74. <property ResultOption="BT_SUCCESS"/>
  75. </node>
  76. <node class="Assignment" id="17">
  77. <property CastRight="false"/>
  78. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  79. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;当前数量&quot;)"/>
  80. </node>
  81. <node class="Action" id="18">
  82. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_7&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  83. <property ResultOption="BT_SUCCESS"/>
  84. </node>
  85. <node class="Assignment" id="19">
  86. <property CastRight="false"/>
  87. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  88. <property Opr="const string &quot; Cards out of &quot;"/>
  89. </node>
  90. <node class="Action" id="20">
  91. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_8&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  92. <property ResultOption="BT_SUCCESS"/>
  93. </node>
  94. <node class="Assignment" id="21">
  95. <property CastRight="false"/>
  96. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  97. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;总数量&quot;)"/>
  98. </node>
  99. <node class="Action" id="22">
  100. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_9&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  101. <property ResultOption="BT_SUCCESS"/>
  102. </node>
  103. <node class="Assignment" id="23">
  104. <property CastRight="false"/>
  105. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  106. <property Opr="const string &quot; total cards.&quot;"/>
  107. </node>
  108. <node class="Action" id="24">
  109. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_10&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  110. <property ResultOption="BT_SUCCESS"/>
  111. </node>
  112. <node class="Assignment" id="25">
  113. <property CastRight="false"/>
  114. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  115. <property Opr="Self.red::RedBehaviacTree::stringLinkMoreOperator(&quot;__ttbt__localVariableIndex_6&quot;,&quot;__ttbt__localVariableIndex_7&quot;,&quot;__ttbt__localVariableIndex_8&quot;,&quot;__ttbt__localVariableIndex_9&quot;,&quot;__ttbt__localVariableIndex_10&quot;)"/>
  116. </node>
  117. <node class="Action" id="26">
  118. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_11&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  119. <property ResultOption="BT_SUCCESS"/>
  120. </node>
  121. <node class="Assignment" id="27">
  122. <property CastRight="false"/>
  123. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  124. <property Opr="Self.red::RedBehaviacTree::getLocalTreeString(&quot;__ttbt__localVariableIndex_11&quot;)"/>
  125. </node>
  126. <node class="Action" id="28">
  127. <property Method="Self.red::RedBehaviacTree::setSceneLabelTitle(&quot;7G14dZq3zShE&quot;,&quot;FziB3R1RLwRm&quot;,&quot;M8sQYGE2dDUz&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  128. <property ResultOption="BT_SUCCESS"/>
  129. </node>
  130. <node class="Assignment" id="31">
  131. <property CastRight="false"/>
  132. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  133. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;当前数量&quot;)"/>
  134. </node>
  135. <node class="Assignment" id="32">
  136. <property CastRight="true"/>
  137. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  138. <property Opr="Self.red::RedBehaviacTree::stringToFloat(string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  139. </node>
  140. <node class="Action" id="33">
  141. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_12&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  142. <property ResultOption="BT_SUCCESS"/>
  143. </node>
  144. <node class="Assignment" id="34">
  145. <property CastRight="false"/>
  146. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  147. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;总数量&quot;)"/>
  148. </node>
  149. <node class="Assignment" id="35">
  150. <property CastRight="true"/>
  151. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  152. <property Opr="Self.red::RedBehaviacTree::stringToFloat(string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  153. </node>
  154. <node class="Action" id="36">
  155. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_13&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  156. <property ResultOption="BT_SUCCESS"/>
  157. </node>
  158. <node class="IfElse" id="29">
  159. <node class="Condition" id="30">
  160. <property Operator="Equal"/>
  161. <property Opl="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_12&quot;)"/>
  162. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_13&quot;)"/>
  163. </node>
  164. <node class="Sequence" id="37">
  165. <node class="Assignment" id="38">
  166. <property CastRight="false"/>
  167. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  168. <property Opr="const string &quot;卡片总量收集进度完成&quot;"/>
  169. </node>
  170. <node class="Action" id="39">
  171. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_14&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  172. <property ResultOption="BT_SUCCESS"/>
  173. </node>
  174. <node class="Action" id="40">
  175. <property Method="Self.red::RedBehaviacTree::notifyDevelopment(&quot;5vqDNwd1q7p5&quot;,&quot;__ttbt__localVariableIndex_14&quot;)"/>
  176. <property ResultOption="BT_SUCCESS"/>
  177. </node>
  178. </node>
  179. <node class="Noop" id="41"/>
  180. </node>
  181. <node class="Action" id="42">
  182. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;sc1X9UDf9XRW&quot;,&quot;0&quot;)"/>
  183. <property ResultOption="BT_SUCCESS"/>
  184. </node>
  185. </node>
  186. </behavior>