q445m0fSUdq.xml 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="q445m0fSUdq" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="Assignment" id="3">
  5. <property CastRight="true"/>
  6. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  7. <property Opr="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-tFinished&quot;)"/>
  8. </node>
  9. <node class="Action" id="4">
  10. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_0&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  11. <property ResultOption="BT_SUCCESS"/>
  12. </node>
  13. <node class="Assignment" id="5">
  14. <property CastRight="false"/>
  15. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  16. <property Opr="Self.red::RedBehaviacTree::numRandOperator(&quot;__ttbt__localVariableIndex_0&quot;)"/>
  17. </node>
  18. <node class="Action" id="6">
  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="Assignment" id="7">
  23. <property CastRight="false"/>
  24. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  25. <property Opr="Self.red::RedBehaviacTree::getLocalTreeString(&quot;__ttbt__localVariableIndex_1&quot;)"/>
  26. </node>
  27. <node class="Assignment" id="8">
  28. <property CastRight="true"/>
  29. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  30. <property Opr="Self.red::RedBehaviacTree::stringToFloat(string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  31. </node>
  32. <node class="Action" id="9">
  33. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_2&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  34. <property ResultOption="BT_SUCCESS"/>
  35. </node>
  36. <node class="IfElse" id="1">
  37. <node class="Condition" id="2">
  38. <property Operator="Equal"/>
  39. <property Opl="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_2&quot;)"/>
  40. <property Opr="const float 0"/>
  41. </node>
  42. <node class="Sequence" id="10">
  43. <node class="Assignment" id="12">
  44. <property CastRight="false"/>
  45. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  46. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-tType&quot;)"/>
  47. </node>
  48. <node class="Action" id="13">
  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="14">
  53. <property CastRight="false"/>
  54. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  55. <property Opr="const string &quot;1&quot;"/>
  56. </node>
  57. <node class="Action" id="15">
  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="IfElse" id="11">
  62. <node class="Condition" id="16">
  63. <property Operator="Equal"/>
  64. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_3&quot;,&quot;__ttbt__localVariableIndex_4&quot;)"/>
  65. <property Opr="const bool true"/>
  66. </node>
  67. <node class="Sequence" id="17">
  68. <node class="Action" id="18">
  69. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;FJ19foqiZKqh&quot;,&quot;0&quot;)"/>
  70. <property ResultOption="BT_SUCCESS"/>
  71. </node>
  72. <node class="Assignment" id="19">
  73. <property CastRight="false"/>
  74. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  75. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-tResPng&quot;)"/>
  76. </node>
  77. <node class="Action" id="20">
  78. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_5&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  79. <property ResultOption="BT_SUCCESS"/>
  80. </node>
  81. <node class="Assignment" id="21">
  82. <property CastRight="false"/>
  83. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  84. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-tPlist&quot;)"/>
  85. </node>
  86. <node class="Action" id="22">
  87. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_6&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  88. <property ResultOption="BT_SUCCESS"/>
  89. </node>
  90. <node class="Action" id="23">
  91. <property Method="Self.red::RedBehaviacTree::setSpritePlist(&quot;pvmTAd9fwqPq&quot;,&quot;H5s8Q2ka5C45&quot;,&quot;__ttbt__localVariableIndex_6&quot;,&quot;__ttbt__localVariableIndex_5&quot;)"/>
  92. <property ResultOption="BT_SUCCESS"/>
  93. </node>
  94. </node>
  95. <node class="Sequence" id="24">
  96. <node class="Assignment" id="26">
  97. <property CastRight="false"/>
  98. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  99. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-tType&quot;)"/>
  100. </node>
  101. <node class="Action" id="27">
  102. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_7&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  103. <property ResultOption="BT_SUCCESS"/>
  104. </node>
  105. <node class="Assignment" id="28">
  106. <property CastRight="false"/>
  107. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  108. <property Opr="const string &quot;2&quot;"/>
  109. </node>
  110. <node class="Action" id="29">
  111. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_8&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  112. <property ResultOption="BT_SUCCESS"/>
  113. </node>
  114. <node class="IfElse" id="25">
  115. <node class="Condition" id="30">
  116. <property Operator="Equal"/>
  117. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_7&quot;,&quot;__ttbt__localVariableIndex_8&quot;)"/>
  118. <property Opr="const bool true"/>
  119. </node>
  120. <node class="Sequence" id="31">
  121. <node class="Action" id="32">
  122. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;Kkz4aXLFuVzu&quot;,&quot;1&quot;)"/>
  123. <property ResultOption="BT_SUCCESS"/>
  124. </node>
  125. </node>
  126. <node class="Sequence" id="33">
  127. <node class="Action" id="34">
  128. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;ntypaMoPq2sA&quot;,&quot;2&quot;)"/>
  129. <property ResultOption="BT_SUCCESS"/>
  130. </node>
  131. </node>
  132. </node>
  133. </node>
  134. </node>
  135. </node>
  136. <node class="Sequence" id="35">
  137. <node class="Action" id="36">
  138. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;kQ1oLFgY16EI&quot;,&quot;3&quot;)"/>
  139. <property ResultOption="BT_SUCCESS"/>
  140. </node>
  141. </node>
  142. </node>
  143. <node class="Action" id="37">
  144. <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
  145. <property ResultOption="BT_SUCCESS"/>
  146. </node>
  147. <node class="Action" id="38">
  148. <property Method="Self.red::RedBehaviacTree::redCustomFunc(&quot;4xXyhxh35Uhv&quot;,&quot;yqN3qpiZkVY&quot;,&quot;LGM0uDVNVEqz&quot;)"/>
  149. <property ResultOption="BT_SUCCESS"/>
  150. </node>
  151. <node class="Action" id="39">
  152. <property Method="Self.red::RedBehaviacTree::getSubRedTreeState(&quot;yqN3qpiZkVY&quot;)"/>
  153. <property ResultOption="BT_INVALID"/>
  154. </node>
  155. </node>
  156. </behavior>