20wdx7tkVJKt.xml 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="20wdx7tkVJKt" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="Action" id="1">
  5. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;do8utcsm4Ggh&quot;,&quot;0&quot;)"/>
  6. <property ResultOption="BT_SUCCESS"/>
  7. </node>
  8. <node class="Action" id="2">
  9. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;xpNMoZdUfQyo&quot;,&quot;LY9incAlfLNQ&quot;,&quot;0&quot;)"/>
  10. <property ResultOption="BT_SUCCESS"/>
  11. </node>
  12. <node class="Assignment" id="3">
  13. <property CastRight="false"/>
  14. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  15. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;进度起点&quot;)"/>
  16. </node>
  17. <node class="Action" id="4">
  18. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_0&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  19. <property ResultOption="BT_SUCCESS"/>
  20. </node>
  21. <node class="Assignment" id="5">
  22. <property CastRight="false"/>
  23. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  24. <property Opr="const string &quot;/&quot;"/>
  25. </node>
  26. <node class="Action" id="6">
  27. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_1&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  28. <property ResultOption="BT_SUCCESS"/>
  29. </node>
  30. <node class="Assignment" id="7">
  31. <property CastRight="false"/>
  32. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  33. <property Opr="Self.red::RedBehaviacTree::stringLink(&quot;__ttbt__localVariableIndex_0&quot;,&quot;__ttbt__localVariableIndex_1&quot;)"/>
  34. </node>
  35. <node class="Action" id="8">
  36. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_2&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  37. <property ResultOption="BT_SUCCESS"/>
  38. </node>
  39. <node class="Assignment" id="9">
  40. <property CastRight="false"/>
  41. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  42. <property Opr="Self.red::RedBehaviacTree::getLocalTreeString(&quot;__ttbt__localVariableIndex_2&quot;)"/>
  43. </node>
  44. <node class="Action" id="10">
  45. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_3&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  46. <property ResultOption="BT_SUCCESS"/>
  47. </node>
  48. <node class="Assignment" id="11">
  49. <property CastRight="false"/>
  50. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  51. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;进度总量&quot;)"/>
  52. </node>
  53. <node class="Action" id="12">
  54. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_4&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  55. <property ResultOption="BT_SUCCESS"/>
  56. </node>
  57. <node class="Assignment" id="13">
  58. <property CastRight="false"/>
  59. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  60. <property Opr="Self.red::RedBehaviacTree::stringLink(&quot;__ttbt__localVariableIndex_3&quot;,&quot;__ttbt__localVariableIndex_4&quot;)"/>
  61. </node>
  62. <node class="Action" id="14">
  63. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_5&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  64. <property ResultOption="BT_SUCCESS"/>
  65. </node>
  66. <node class="Assignment" id="15">
  67. <property CastRight="false"/>
  68. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  69. <property Opr="Self.red::RedBehaviacTree::getLocalTreeString(&quot;__ttbt__localVariableIndex_5&quot;)"/>
  70. </node>
  71. <node class="Action" id="16">
  72. <property Method="Self.red::RedBehaviacTree::setLabelTitle(&quot;hAzRt1qm31kv&quot;,&quot;WtpF9xImbjQP&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  73. <property ResultOption="BT_SUCCESS"/>
  74. </node>
  75. <node class="Assignment" id="18">
  76. <property CastRight="false"/>
  77. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  78. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;进度起点&quot;)"/>
  79. </node>
  80. <node class="Assignment" id="19">
  81. <property CastRight="true"/>
  82. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  83. <property Opr="Self.red::RedBehaviacTree::stringToFloat(string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  84. </node>
  85. <node class="Action" id="20">
  86. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_6&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  87. <property ResultOption="BT_SUCCESS"/>
  88. </node>
  89. <node class="Assignment" id="21">
  90. <property CastRight="false"/>
  91. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  92. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;进度总量&quot;)"/>
  93. </node>
  94. <node class="Assignment" id="22">
  95. <property CastRight="true"/>
  96. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  97. <property Opr="Self.red::RedBehaviacTree::stringToFloat(string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  98. </node>
  99. <node class="Action" id="23">
  100. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_7&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  101. <property ResultOption="BT_SUCCESS"/>
  102. </node>
  103. <node class="Compute" id="17">
  104. <property Operator="Div"/>
  105. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  106. <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_6&quot;)"/>
  107. <property Opr2="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_7&quot;)"/>
  108. </node>
  109. <node class="Action" id="24">
  110. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_8&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  111. <property ResultOption="BT_SUCCESS"/>
  112. </node>
  113. <node class="Compute" id="25">
  114. <property Operator="Mul"/>
  115. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  116. <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_8&quot;)"/>
  117. <property Opr2="const float 100"/>
  118. </node>
  119. <node class="Action" id="26">
  120. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_9&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  121. <property ResultOption="BT_SUCCESS"/>
  122. </node>
  123. <node class="Assignment" id="27">
  124. <property CastRight="true"/>
  125. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  126. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_9&quot;)"/>
  127. </node>
  128. <node class="Action" id="28">
  129. <property Method="Self.red::RedBehaviacTree::redProgressBar(&quot;lVFC2jyK81dl&quot;,&quot;PDvXtuZ9hXBL&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  130. <property ResultOption="BT_SUCCESS"/>
  131. </node>
  132. <node class="Assignment" id="29">
  133. <property CastRight="false"/>
  134. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  135. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;进度起点&quot;)"/>
  136. </node>
  137. <node class="Action" id="30">
  138. <property Method="Self.red::RedBehaviacTree::setCustomDataVar(&quot;S3G73Rj7TPYZ&quot;,&quot;进度起点&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  139. <property ResultOption="BT_SUCCESS"/>
  140. </node>
  141. <node class="Assignment" id="31">
  142. <property CastRight="false"/>
  143. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  144. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;进度终点&quot;)"/>
  145. </node>
  146. <node class="Action" id="32">
  147. <property Method="Self.red::RedBehaviacTree::setCustomDataVar(&quot;le8AMqLRAEDL&quot;,&quot;进度终点&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  148. <property ResultOption="BT_SUCCESS"/>
  149. </node>
  150. <node class="Assignment" id="33">
  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="Action" id="34">
  156. <property Method="Self.red::RedBehaviacTree::setCustomDataVar(&quot;UUIJpGkQhEX5&quot;,&quot;进度总量&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  157. <property ResultOption="BT_SUCCESS"/>
  158. </node>
  159. <node class="Action" id="35">
  160. <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
  161. <property ResultOption="BT_SUCCESS"/>
  162. </node>
  163. <node class="Action" id="36">
  164. <property Method="Self.red::RedBehaviacTree::customFunc(&quot;PNX6Izb2JOBc&quot;,&quot;wYuIetAnSot8&quot;)"/>
  165. <property ResultOption="BT_SUCCESS"/>
  166. </node>
  167. <node class="Action" id="37">
  168. <property Method="Self.red::RedBehaviacTree::getTreeState()"/>
  169. <property ResultOption="BT_INVALID"/>
  170. </node>
  171. </node>
  172. </behavior>