Imckek7x5FgK.xml 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="Imckek7x5FgK" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="Action" id="1">
  5. <property Method="Self.red::RedBehaviacTree::showNode(&quot;wWHnF2z8c4Me&quot;,&quot;h67KB00Njt18&quot;)"/>
  6. <property ResultOption="BT_SUCCESS"/>
  7. </node>
  8. <node class="Assignment" id="3">
  9. <property CastRight="false"/>
  10. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  11. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-打开过&quot;)"/>
  12. </node>
  13. <node class="Action" id="4">
  14. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_0&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  15. <property ResultOption="BT_SUCCESS"/>
  16. </node>
  17. <node class="Assignment" id="5">
  18. <property CastRight="false"/>
  19. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  20. <property Opr="const string &quot;Yes&quot;"/>
  21. </node>
  22. <node class="Action" id="6">
  23. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_1&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  24. <property ResultOption="BT_SUCCESS"/>
  25. </node>
  26. <node class="IfElse" id="2">
  27. <node class="Condition" id="7">
  28. <property Operator="Equal"/>
  29. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_0&quot;,&quot;__ttbt__localVariableIndex_1&quot;)"/>
  30. <property Opr="const bool true"/>
  31. </node>
  32. <node class="Sequence" id="8">
  33. <node class="Assignment" id="11">
  34. <property CastRight="true"/>
  35. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  36. <property Opr="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-tCntCanClaim&quot;)"/>
  37. </node>
  38. <node class="Action" id="12">
  39. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_2&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  40. <property ResultOption="BT_SUCCESS"/>
  41. </node>
  42. <node class="Assignment" id="13">
  43. <property CastRight="false"/>
  44. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  45. <property Opr="Self.red::RedBehaviacTree::numRandOperator(&quot;__ttbt__localVariableIndex_2&quot;)"/>
  46. </node>
  47. <node class="Action" id="14">
  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="Assignment" id="15">
  52. <property CastRight="false"/>
  53. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  54. <property Opr="Self.red::RedBehaviacTree::getLocalTreeString(&quot;__ttbt__localVariableIndex_3&quot;)"/>
  55. </node>
  56. <node class="Assignment" id="16">
  57. <property CastRight="true"/>
  58. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  59. <property Opr="Self.red::RedBehaviacTree::stringToFloat(string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  60. </node>
  61. <node class="Action" id="17">
  62. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_4&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  63. <property ResultOption="BT_SUCCESS"/>
  64. </node>
  65. <node class="IfElse" id="9">
  66. <node class="Condition" id="10">
  67. <property Operator="Greater"/>
  68. <property Opl="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_4&quot;)"/>
  69. <property Opr="const float 0"/>
  70. </node>
  71. <node class="Sequence" id="18">
  72. <node class="Action" id="19">
  73. <property Method="Self.red::RedBehaviacTree::showNode(&quot;MNEfT7M8HjVk&quot;,&quot;X4t5tminmOFL&quot;)"/>
  74. <property ResultOption="BT_SUCCESS"/>
  75. </node>
  76. <node class="Assignment" id="20">
  77. <property CastRight="true"/>
  78. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  79. <property Opr="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-tCntCanClaim&quot;)"/>
  80. </node>
  81. <node class="Action" id="21">
  82. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_5&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  83. <property ResultOption="BT_SUCCESS"/>
  84. </node>
  85. <node class="Assignment" id="22">
  86. <property CastRight="false"/>
  87. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  88. <property Opr="Self.red::RedBehaviacTree::numRandOperator(&quot;__ttbt__localVariableIndex_5&quot;)"/>
  89. </node>
  90. <node class="Action" id="23">
  91. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_6&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  92. <property ResultOption="BT_SUCCESS"/>
  93. </node>
  94. <node class="Assignment" id="24">
  95. <property CastRight="false"/>
  96. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  97. <property Opr="Self.red::RedBehaviacTree::getLocalTreeString(&quot;__ttbt__localVariableIndex_6&quot;)"/>
  98. </node>
  99. <node class="Action" id="25">
  100. <property Method="Self.red::RedBehaviacTree::setLabelTitle(&quot;b2liiNqKc7v4&quot;,&quot;kiOjmEhsr0Eo&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  101. <property ResultOption="BT_SUCCESS"/>
  102. </node>
  103. <node class="Action" id="26">
  104. <property Method="Self.red::RedBehaviacTree::hiddenNode(&quot;bwFCa3Ykkwa&quot;,&quot;nhNoHD6HdZmv&quot;)"/>
  105. <property ResultOption="BT_SUCCESS"/>
  106. </node>
  107. </node>
  108. <node class="Sequence" id="27">
  109. <node class="Action" id="28">
  110. <property Method="Self.red::RedBehaviacTree::hiddenNode(&quot;3LSr6WHekNUT&quot;,&quot;X4t5tminmOFL&quot;)"/>
  111. <property ResultOption="BT_SUCCESS"/>
  112. </node>
  113. <node class="Action" id="29">
  114. <property Method="Self.red::RedBehaviacTree::hiddenNode(&quot;rXxdLXSGSdIs&quot;,&quot;nhNoHD6HdZmv&quot;)"/>
  115. <property ResultOption="BT_SUCCESS"/>
  116. </node>
  117. </node>
  118. </node>
  119. </node>
  120. <node class="Sequence" id="30">
  121. <node class="Action" id="31">
  122. <property Method="Self.red::RedBehaviacTree::showNode(&quot;CzfrsbxJ7UW&quot;,&quot;nhNoHD6HdZmv&quot;)"/>
  123. <property ResultOption="BT_SUCCESS"/>
  124. </node>
  125. <node class="Action" id="32">
  126. <property Method="Self.red::RedBehaviacTree::hiddenNode(&quot;Nic1Gog7RhJC&quot;,&quot;X4t5tminmOFL&quot;)"/>
  127. <property ResultOption="BT_SUCCESS"/>
  128. </node>
  129. </node>
  130. </node>
  131. </node>
  132. </behavior>