WkK5I2q5pzSG.xml 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="WkK5I2q5pzSG" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="Assignment" id="3">
  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="Assignment" id="4">
  10. <property CastRight="true"/>
  11. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  12. <property Opr="Self.red::RedBehaviacTree::stringToFloat(string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  13. </node>
  14. <node class="Action" id="5">
  15. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_0&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  16. <property ResultOption="BT_SUCCESS"/>
  17. </node>
  18. <node class="IfElse" id="1">
  19. <node class="Condition" id="2">
  20. <property Operator="Equal"/>
  21. <property Opl="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_0&quot;)"/>
  22. <property Opr="const float 1"/>
  23. </node>
  24. <node class="Sequence" id="6">
  25. <node class="Assignment" id="7">
  26. <property CastRight="false"/>
  27. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  28. <property Opr="const string &quot;加载游戏&quot;"/>
  29. </node>
  30. <node class="Action" id="8">
  31. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_1&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  32. <property ResultOption="BT_SUCCESS"/>
  33. </node>
  34. <node class="Assignment" id="9">
  35. <property CastRight="false"/>
  36. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  37. <property Opr="const string &quot;1&quot;"/>
  38. </node>
  39. <node class="Action" id="10">
  40. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_2&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  41. <property ResultOption="BT_SUCCESS"/>
  42. </node>
  43. <node class="Action" id="11">
  44. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;FI5zD7o7VVNV&quot;,&quot;__ttbt__localVariableIndex_1&quot;,&quot;__ttbt__localVariableIndex_2&quot;,&quot;eBJX3CzxkQyr&quot;)"/>
  45. <property ResultOption="BT_SUCCESS"/>
  46. </node>
  47. </node>
  48. <node class="Noop" id="12"/>
  49. </node>
  50. <node class="Assignment" id="15">
  51. <property CastRight="false"/>
  52. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  53. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;当前阶段&quot;)"/>
  54. </node>
  55. <node class="Assignment" id="16">
  56. <property CastRight="true"/>
  57. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  58. <property Opr="Self.red::RedBehaviacTree::stringToFloat(string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  59. </node>
  60. <node class="Action" id="17">
  61. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_3&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  62. <property ResultOption="BT_SUCCESS"/>
  63. </node>
  64. <node class="IfElse" id="13">
  65. <node class="Condition" id="14">
  66. <property Operator="Equal"/>
  67. <property Opl="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_3&quot;)"/>
  68. <property Opr="const float 2"/>
  69. </node>
  70. <node class="Sequence" id="18">
  71. <node class="Assignment" id="19">
  72. <property CastRight="false"/>
  73. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  74. <property Opr="const string &quot;加载游戏&quot;"/>
  75. </node>
  76. <node class="Action" id="20">
  77. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_4&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  78. <property ResultOption="BT_SUCCESS"/>
  79. </node>
  80. <node class="Assignment" id="21">
  81. <property CastRight="false"/>
  82. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  83. <property Opr="const string &quot;2&quot;"/>
  84. </node>
  85. <node class="Action" id="22">
  86. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_5&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  87. <property ResultOption="BT_SUCCESS"/>
  88. </node>
  89. <node class="Action" id="23">
  90. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;GyQ2j9vgw4ko&quot;,&quot;__ttbt__localVariableIndex_4&quot;,&quot;__ttbt__localVariableIndex_5&quot;,&quot;4ACuLakZKnCY&quot;)"/>
  91. <property ResultOption="BT_SUCCESS"/>
  92. </node>
  93. </node>
  94. <node class="Noop" id="24"/>
  95. </node>
  96. <node class="Assignment" id="27">
  97. <property CastRight="false"/>
  98. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  99. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;当前阶段&quot;)"/>
  100. </node>
  101. <node class="Assignment" id="28">
  102. <property CastRight="true"/>
  103. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  104. <property Opr="Self.red::RedBehaviacTree::stringToFloat(string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  105. </node>
  106. <node class="Action" id="29">
  107. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_6&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  108. <property ResultOption="BT_SUCCESS"/>
  109. </node>
  110. <node class="IfElse" id="25">
  111. <node class="Condition" id="26">
  112. <property Operator="Equal"/>
  113. <property Opl="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_6&quot;)"/>
  114. <property Opr="const float 3"/>
  115. </node>
  116. <node class="Sequence" id="30">
  117. <node class="Assignment" id="31">
  118. <property CastRight="false"/>
  119. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  120. <property Opr="const string &quot;加载游戏&quot;"/>
  121. </node>
  122. <node class="Action" id="32">
  123. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_7&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  124. <property ResultOption="BT_SUCCESS"/>
  125. </node>
  126. <node class="Assignment" id="33">
  127. <property CastRight="false"/>
  128. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  129. <property Opr="const string &quot;3&quot;"/>
  130. </node>
  131. <node class="Action" id="34">
  132. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_8&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  133. <property ResultOption="BT_SUCCESS"/>
  134. </node>
  135. <node class="Action" id="35">
  136. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;YtFSoAs3dqOm&quot;,&quot;__ttbt__localVariableIndex_7&quot;,&quot;__ttbt__localVariableIndex_8&quot;,&quot;ZkyExvvf6h9W&quot;)"/>
  137. <property ResultOption="BT_SUCCESS"/>
  138. </node>
  139. </node>
  140. <node class="Noop" id="36"/>
  141. </node>
  142. <node class="Assignment" id="39">
  143. <property CastRight="false"/>
  144. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  145. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;当前阶段&quot;)"/>
  146. </node>
  147. <node class="Assignment" id="40">
  148. <property CastRight="true"/>
  149. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  150. <property Opr="Self.red::RedBehaviacTree::stringToFloat(string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  151. </node>
  152. <node class="Action" id="41">
  153. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_9&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  154. <property ResultOption="BT_SUCCESS"/>
  155. </node>
  156. <node class="IfElse" id="37">
  157. <node class="Condition" id="38">
  158. <property Operator="Equal"/>
  159. <property Opl="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_9&quot;)"/>
  160. <property Opr="const float 4"/>
  161. </node>
  162. <node class="Sequence" id="42">
  163. <node class="Assignment" id="43">
  164. <property CastRight="false"/>
  165. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  166. <property Opr="const string &quot;加载游戏&quot;"/>
  167. </node>
  168. <node class="Action" id="44">
  169. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_10&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  170. <property ResultOption="BT_SUCCESS"/>
  171. </node>
  172. <node class="Assignment" id="45">
  173. <property CastRight="false"/>
  174. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  175. <property Opr="const string &quot;4&quot;"/>
  176. </node>
  177. <node class="Action" id="46">
  178. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_11&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  179. <property ResultOption="BT_SUCCESS"/>
  180. </node>
  181. <node class="Action" id="47">
  182. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;Dt1wIbMf1PRE&quot;,&quot;__ttbt__localVariableIndex_10&quot;,&quot;__ttbt__localVariableIndex_11&quot;,&quot;ZikKQpIRPBq6&quot;)"/>
  183. <property ResultOption="BT_SUCCESS"/>
  184. </node>
  185. </node>
  186. <node class="Noop" id="48"/>
  187. </node>
  188. <node class="Assignment" id="51">
  189. <property CastRight="false"/>
  190. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  191. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;当前阶段&quot;)"/>
  192. </node>
  193. <node class="Assignment" id="52">
  194. <property CastRight="true"/>
  195. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  196. <property Opr="Self.red::RedBehaviacTree::stringToFloat(string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  197. </node>
  198. <node class="Action" id="53">
  199. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_12&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  200. <property ResultOption="BT_SUCCESS"/>
  201. </node>
  202. <node class="IfElse" id="49">
  203. <node class="Condition" id="50">
  204. <property Operator="Equal"/>
  205. <property Opl="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_12&quot;)"/>
  206. <property Opr="const float 5"/>
  207. </node>
  208. <node class="Sequence" id="54">
  209. <node class="Assignment" id="55">
  210. <property CastRight="false"/>
  211. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  212. <property Opr="const string &quot;加载游戏&quot;"/>
  213. </node>
  214. <node class="Action" id="56">
  215. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_13&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  216. <property ResultOption="BT_SUCCESS"/>
  217. </node>
  218. <node class="Assignment" id="57">
  219. <property CastRight="false"/>
  220. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  221. <property Opr="const string &quot;5&quot;"/>
  222. </node>
  223. <node class="Action" id="58">
  224. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_14&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  225. <property ResultOption="BT_SUCCESS"/>
  226. </node>
  227. <node class="Action" id="59">
  228. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;XHoeJpDYe3EP&quot;,&quot;__ttbt__localVariableIndex_13&quot;,&quot;__ttbt__localVariableIndex_14&quot;,&quot;0fIj1vcjM1YD&quot;)"/>
  229. <property ResultOption="BT_SUCCESS"/>
  230. </node>
  231. </node>
  232. <node class="Noop" id="60"/>
  233. </node>
  234. </node>
  235. </behavior>