FD747giWdokm.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="FD747giWdokm" 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::getCoderString(&quot;P-进度起点&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::getCoderString(&quot;P-进度总量&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="const string &quot;&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="const string &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::stringLinkMoreOperator(&quot;__ttbt__localVariableIndex_0&quot;,&quot;__ttbt__localVariableIndex_1&quot;,&quot;__ttbt__localVariableIndex_2&quot;,&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::setSceneLabelTitle(&quot;QNOISP7qr097&quot;,&quot;gelumYM0dB16&quot;,&quot;HzMlZ9hZS5Y8&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  65. <property ResultOption="BT_SUCCESS"/>
  66. </node>
  67. <node class="Compute" id="16">
  68. <property Operator="Div"/>
  69. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  70. <property Opr1="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-进度起点&quot;)"/>
  71. <property Opr2="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-进度总量&quot;)"/>
  72. </node>
  73. <node class="Action" id="17">
  74. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_6&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  75. <property ResultOption="BT_SUCCESS"/>
  76. </node>
  77. <node class="Compute" id="18">
  78. <property Operator="Mul"/>
  79. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  80. <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_6&quot;)"/>
  81. <property Opr2="const float 100"/>
  82. </node>
  83. <node class="Action" id="19">
  84. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_7&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  85. <property ResultOption="BT_SUCCESS"/>
  86. </node>
  87. <node class="Assignment" id="20">
  88. <property CastRight="true"/>
  89. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  90. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_7&quot;)"/>
  91. </node>
  92. <node class="Action" id="15">
  93. <property Method="Self.red::RedBehaviacTree::sceneProgressBar(&quot;I9JjWpdzHhqD&quot;,&quot;gelumYM0dB16&quot;,&quot;t1Y3n36bKDdd&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  94. <property ResultOption="BT_SUCCESS"/>
  95. </node>
  96. <node class="Assignment" id="21">
  97. <property CastRight="false"/>
  98. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  99. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-奖励物图标&quot;)"/>
  100. </node>
  101. <node class="Action" id="22">
  102. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_8&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  103. <property ResultOption="BT_SUCCESS"/>
  104. </node>
  105. <node class="Assignment" id="23">
  106. <property CastRight="false"/>
  107. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  108. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-Plist图集&quot;)"/>
  109. </node>
  110. <node class="Action" id="24">
  111. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_9&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  112. <property ResultOption="BT_SUCCESS"/>
  113. </node>
  114. <node class="Action" id="25">
  115. <property Method="Self.red::RedBehaviacTree::setSubredSpritePlist(&quot;ZN9lEx92ACh5&quot;,&quot;gelumYM0dB16&quot;,&quot;cqKlNhvjlwrP&quot;,&quot;__ttbt__localVariableIndex_9&quot;,&quot;__ttbt__localVariableIndex_8&quot;)"/>
  116. <property ResultOption="BT_SUCCESS"/>
  117. </node>
  118. <node class="Assignment" id="26">
  119. <property CastRight="false"/>
  120. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  121. <property Opr="const string &quot;x&quot;"/>
  122. </node>
  123. <node class="Action" id="27">
  124. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_10&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  125. <property ResultOption="BT_SUCCESS"/>
  126. </node>
  127. <node class="Assignment" id="28">
  128. <property CastRight="false"/>
  129. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  130. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-奖励物数量&quot;)"/>
  131. </node>
  132. <node class="Action" id="29">
  133. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_11&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  134. <property ResultOption="BT_SUCCESS"/>
  135. </node>
  136. <node class="Assignment" id="30">
  137. <property CastRight="false"/>
  138. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  139. <property Opr="Self.red::RedBehaviacTree::stringLink(&quot;__ttbt__localVariableIndex_10&quot;,&quot;__ttbt__localVariableIndex_11&quot;)"/>
  140. </node>
  141. <node class="Action" id="31">
  142. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_12&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  143. <property ResultOption="BT_SUCCESS"/>
  144. </node>
  145. <node class="Assignment" id="32">
  146. <property CastRight="false"/>
  147. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  148. <property Opr="Self.red::RedBehaviacTree::getLocalTreeString(&quot;__ttbt__localVariableIndex_12&quot;)"/>
  149. </node>
  150. <node class="Action" id="33">
  151. <property Method="Self.red::RedBehaviacTree::setSceneLabelTitle(&quot;yCLuRckP3m6P&quot;,&quot;gelumYM0dB16&quot;,&quot;yYurCxdyTwJq&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  152. <property ResultOption="BT_SUCCESS"/>
  153. </node>
  154. <node class="IfElse" id="34">
  155. <node class="Condition" id="35">
  156. <property Operator="Greater"/>
  157. <property Opl="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-进度终点&quot;)"/>
  158. <property Opr="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-进度起点&quot;)"/>
  159. </node>
  160. <node class="Sequence" id="36">
  161. <node class="Action" id="37">
  162. <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
  163. <property ResultOption="BT_SUCCESS"/>
  164. </node>
  165. <node class="Action" id="38">
  166. <property Method="Self.red::RedBehaviacTree::customFunc(&quot;VqB0MxXuVBEC&quot;,&quot;21BByki3ZH5p&quot;)"/>
  167. <property ResultOption="BT_SUCCESS"/>
  168. </node>
  169. <node class="Action" id="39">
  170. <property Method="Self.red::RedBehaviacTree::getTreeState()"/>
  171. <property ResultOption="BT_INVALID"/>
  172. </node>
  173. </node>
  174. <node class="Noop" id="40"/>
  175. </node>
  176. </node>
  177. </behavior>