kTStvwh1gBZk.xml 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="kTStvwh1gBZk" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="Action" id="1">
  5. <property Method="Self.red::RedBehaviacTree::showSelf(&quot;pdRdm6IcsmIw&quot;)"/>
  6. <property ResultOption="BT_SUCCESS"/>
  7. </node>
  8. <node class="Action" id="2">
  9. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;i3AMBZYb0xDw&quot;,&quot;0&quot;)"/>
  10. <property ResultOption="BT_SUCCESS"/>
  11. </node>
  12. <node class="Action" id="3">
  13. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;rQ4U0Y1TWKUF&quot;,&quot;jNpYXJNFqd44::c663GWAEmaW7&quot;,&quot;0&quot;)"/>
  14. <property ResultOption="BT_SUCCESS"/>
  15. </node>
  16. <node class="Assignment" id="4">
  17. <property CastRight="false"/>
  18. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  19. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;当前数量&quot;)"/>
  20. </node>
  21. <node class="Action" id="5">
  22. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_0&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  23. <property ResultOption="BT_SUCCESS"/>
  24. </node>
  25. <node class="Assignment" id="6">
  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="7">
  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="8">
  35. <property CastRight="false"/>
  36. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  37. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;总数量&quot;)"/>
  38. </node>
  39. <node class="Action" id="9">
  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="Assignment" id="10">
  44. <property CastRight="false"/>
  45. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  46. <property Opr="const string &quot;&quot;"/>
  47. </node>
  48. <node class="Action" id="11">
  49. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_3&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  50. <property ResultOption="BT_SUCCESS"/>
  51. </node>
  52. <node class="Assignment" id="12">
  53. <property CastRight="false"/>
  54. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  55. <property Opr="const string &quot;&quot;"/>
  56. </node>
  57. <node class="Action" id="13">
  58. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_4&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  59. <property ResultOption="BT_SUCCESS"/>
  60. </node>
  61. <node class="Assignment" id="14">
  62. <property CastRight="false"/>
  63. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  64. <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;)"/>
  65. </node>
  66. <node class="Action" id="15">
  67. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_5&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  68. <property ResultOption="BT_SUCCESS"/>
  69. </node>
  70. <node class="Assignment" id="16">
  71. <property CastRight="false"/>
  72. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  73. <property Opr="Self.red::RedBehaviacTree::getLocalTreeString(&quot;__ttbt__localVariableIndex_5&quot;)"/>
  74. </node>
  75. <node class="Action" id="17">
  76. <property Method="Self.red::RedBehaviacTree::setSceneLabelTitle(&quot;uEctT9xgQbBy&quot;,&quot;jNpYXJNFqd44&quot;,&quot;rKcGR8kyzyaw&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  77. <property ResultOption="BT_SUCCESS"/>
  78. </node>
  79. <node class="Assignment" id="20">
  80. <property CastRight="false"/>
  81. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  82. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;当前数量&quot;)"/>
  83. </node>
  84. <node class="Assignment" id="21">
  85. <property CastRight="true"/>
  86. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  87. <property Opr="Self.red::RedBehaviacTree::stringToFloat(string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  88. </node>
  89. <node class="Action" id="22">
  90. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_6&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  91. <property ResultOption="BT_SUCCESS"/>
  92. </node>
  93. <node class="Assignment" id="23">
  94. <property CastRight="false"/>
  95. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  96. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;总数量&quot;)"/>
  97. </node>
  98. <node class="Assignment" id="24">
  99. <property CastRight="true"/>
  100. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  101. <property Opr="Self.red::RedBehaviacTree::stringToFloat(string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  102. </node>
  103. <node class="Action" id="25">
  104. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_7&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  105. <property ResultOption="BT_SUCCESS"/>
  106. </node>
  107. <node class="Compute" id="19">
  108. <property Operator="Div"/>
  109. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  110. <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_6&quot;)"/>
  111. <property Opr2="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_7&quot;)"/>
  112. </node>
  113. <node class="Action" id="26">
  114. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_8&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  115. <property ResultOption="BT_SUCCESS"/>
  116. </node>
  117. <node class="Compute" id="27">
  118. <property Operator="Mul"/>
  119. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  120. <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_8&quot;)"/>
  121. <property Opr2="const float 100"/>
  122. </node>
  123. <node class="Action" id="28">
  124. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_9&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  125. <property ResultOption="BT_SUCCESS"/>
  126. </node>
  127. <node class="Assignment" id="29">
  128. <property CastRight="true"/>
  129. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  130. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_9&quot;)"/>
  131. </node>
  132. <node class="Action" id="18">
  133. <property Method="Self.red::RedBehaviacTree::sceneProgressBar(&quot;AWHVYzDG86gn&quot;,&quot;jNpYXJNFqd44&quot;,&quot;FKpkWxnZTNOM&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  134. <property ResultOption="BT_SUCCESS"/>
  135. </node>
  136. </node>
  137. </behavior>