3YVZYN07JGsc.xml 9.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="3YVZYN07JGsc" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="Assignment" id="2">
  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="3">
  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="4">
  14. <property CastRight="false"/>
  15. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  16. <property Opr="const string &quot;Yes&quot;"/>
  17. </node>
  18. <node class="Action" id="5">
  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="IfElse" id="1">
  23. <node class="Condition" id="6">
  24. <property Operator="Equal"/>
  25. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_0&quot;,&quot;__ttbt__localVariableIndex_1&quot;)"/>
  26. <property Opr="const bool true"/>
  27. </node>
  28. <node class="Sequence" id="7">
  29. <node class="Action" id="8">
  30. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;xeJh4fPuA6lG&quot;,&quot;0&quot;)"/>
  31. <property ResultOption="BT_SUCCESS"/>
  32. </node>
  33. <node class="Assignment" id="10">
  34. <property CastRight="false"/>
  35. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  36. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-宝箱类型&quot;)"/>
  37. </node>
  38. <node class="Action" id="11">
  39. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_2&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  40. <property ResultOption="BT_SUCCESS"/>
  41. </node>
  42. <node class="Assignment" id="12">
  43. <property CastRight="false"/>
  44. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  45. <property Opr="const string &quot;1&quot;"/>
  46. </node>
  47. <node class="Action" id="13">
  48. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_3&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  49. <property ResultOption="BT_SUCCESS"/>
  50. </node>
  51. <node class="IfElse" id="9">
  52. <node class="Condition" id="14">
  53. <property Operator="Equal"/>
  54. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_2&quot;,&quot;__ttbt__localVariableIndex_3&quot;)"/>
  55. <property Opr="const bool true"/>
  56. </node>
  57. <node class="Sequence" id="15">
  58. <node class="Action" id="16">
  59. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;uNMYf44SWZks&quot;,&quot;aGdYkVQkxvYs&quot;,&quot;3&quot;)"/>
  60. <property ResultOption="BT_SUCCESS"/>
  61. </node>
  62. </node>
  63. <node class="Noop" id="17"/>
  64. </node>
  65. <node class="Assignment" id="19">
  66. <property CastRight="false"/>
  67. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  68. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-宝箱类型&quot;)"/>
  69. </node>
  70. <node class="Action" id="20">
  71. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_4&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  72. <property ResultOption="BT_SUCCESS"/>
  73. </node>
  74. <node class="Assignment" id="21">
  75. <property CastRight="false"/>
  76. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  77. <property Opr="const string &quot;2&quot;"/>
  78. </node>
  79. <node class="Action" id="22">
  80. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_5&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  81. <property ResultOption="BT_SUCCESS"/>
  82. </node>
  83. <node class="IfElse" id="18">
  84. <node class="Condition" id="23">
  85. <property Operator="Equal"/>
  86. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_4&quot;,&quot;__ttbt__localVariableIndex_5&quot;)"/>
  87. <property Opr="const bool true"/>
  88. </node>
  89. <node class="Sequence" id="24">
  90. <node class="Action" id="25">
  91. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;EXz1r4gD2UtZ&quot;,&quot;aGdYkVQkxvYs&quot;,&quot;4&quot;)"/>
  92. <property ResultOption="BT_SUCCESS"/>
  93. </node>
  94. </node>
  95. <node class="Noop" id="26"/>
  96. </node>
  97. <node class="Assignment" id="28">
  98. <property CastRight="false"/>
  99. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  100. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-宝箱类型&quot;)"/>
  101. </node>
  102. <node class="Action" id="29">
  103. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_6&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  104. <property ResultOption="BT_SUCCESS"/>
  105. </node>
  106. <node class="Assignment" id="30">
  107. <property CastRight="false"/>
  108. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  109. <property Opr="const string &quot;3&quot;"/>
  110. </node>
  111. <node class="Action" id="31">
  112. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_7&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  113. <property ResultOption="BT_SUCCESS"/>
  114. </node>
  115. <node class="IfElse" id="27">
  116. <node class="Condition" id="32">
  117. <property Operator="Equal"/>
  118. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_6&quot;,&quot;__ttbt__localVariableIndex_7&quot;)"/>
  119. <property Opr="const bool true"/>
  120. </node>
  121. <node class="Sequence" id="33">
  122. <node class="Action" id="34">
  123. <property Method="Self.red::RedBehaviacTree::playSubredTimeLine(&quot;we8aHqS8HWZP&quot;,&quot;aGdYkVQkxvYs&quot;,&quot;5&quot;)"/>
  124. <property ResultOption="BT_SUCCESS"/>
  125. </node>
  126. </node>
  127. <node class="Noop" id="35"/>
  128. </node>
  129. </node>
  130. <node class="Sequence" id="36">
  131. <node class="Action" id="37">
  132. <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
  133. <property ResultOption="BT_SUCCESS"/>
  134. </node>
  135. <node class="Action" id="38">
  136. <property Method="Self.red::RedBehaviacTree::customFunc(&quot;mHNJJeyKdUQG&quot;,&quot;2fjJXIcaKQ0Y&quot;)"/>
  137. <property ResultOption="BT_SUCCESS"/>
  138. </node>
  139. <node class="Action" id="39">
  140. <property Method="Self.red::RedBehaviacTree::getTreeState()"/>
  141. <property ResultOption="BT_INVALID"/>
  142. </node>
  143. <node class="Action" id="40">
  144. <property Method="Self.red::RedBehaviacTree::setButtonEnable(&quot;CKeTCSmZQ1p&quot;,&quot;OxyQQhDG1fhn&quot;,false)"/>
  145. <property ResultOption="BT_SUCCESS"/>
  146. </node>
  147. <node class="Action" id="41">
  148. <property Method="Self.red::RedBehaviacTree::setButtonEnable(&quot;pEAfMRyXmI0Z&quot;,&quot;XbW5d0qUsutk&quot;,true)"/>
  149. <property ResultOption="BT_SUCCESS"/>
  150. </node>
  151. </node>
  152. </node>
  153. </node>
  154. </behavior>