ejOztVl3I4x9.xml 12 KB

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