VzZkh12Q78mQ.xml 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="VzZkh12Q78mQ" 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;ofTH7LkryyrG&quot;,&quot;0&quot;)"/>
  70. <property ResultOption="BT_SUCCESS"/>
  71. </node>
  72. </node>
  73. <node class="Sequence" id="19">
  74. <node class="Assignment" id="21">
  75. <property CastRight="false"/>
  76. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  77. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-tType&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="Assignment" id="23">
  84. <property CastRight="false"/>
  85. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  86. <property Opr="const string &quot;2&quot;"/>
  87. </node>
  88. <node class="Action" id="24">
  89. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_6&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  90. <property ResultOption="BT_SUCCESS"/>
  91. </node>
  92. <node class="IfElse" id="20">
  93. <node class="Condition" id="25">
  94. <property Operator="Equal"/>
  95. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_5&quot;,&quot;__ttbt__localVariableIndex_6&quot;)"/>
  96. <property Opr="const bool true"/>
  97. </node>
  98. <node class="Sequence" id="26">
  99. <node class="Action" id="27">
  100. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;7bq7BZrviuy&quot;,&quot;1&quot;)"/>
  101. <property ResultOption="BT_SUCCESS"/>
  102. </node>
  103. </node>
  104. <node class="Sequence" id="28">
  105. <node class="Action" id="29">
  106. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;Ln83Rbk1C3qO&quot;,&quot;2&quot;)"/>
  107. <property ResultOption="BT_SUCCESS"/>
  108. </node>
  109. </node>
  110. </node>
  111. </node>
  112. </node>
  113. <node class="Assignment" id="30">
  114. <property CastRight="false"/>
  115. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  116. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-tResPng&quot;)"/>
  117. </node>
  118. <node class="Action" id="31">
  119. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_7&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  120. <property ResultOption="BT_SUCCESS"/>
  121. </node>
  122. <node class="Assignment" id="32">
  123. <property CastRight="false"/>
  124. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  125. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-tPlist&quot;)"/>
  126. </node>
  127. <node class="Action" id="33">
  128. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_8&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  129. <property ResultOption="BT_SUCCESS"/>
  130. </node>
  131. <node class="Action" id="34">
  132. <property Method="Self.red::RedBehaviacTree::setSpritePlist(&quot;2xcoD7EDNHh1&quot;,&quot;zYUi6qT4wn0S&quot;,&quot;__ttbt__localVariableIndex_8&quot;,&quot;__ttbt__localVariableIndex_7&quot;)"/>
  133. <property ResultOption="BT_SUCCESS"/>
  134. </node>
  135. <node class="Action" id="35">
  136. <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
  137. <property ResultOption="BT_SUCCESS"/>
  138. </node>
  139. <node class="Action" id="36">
  140. <property Method="Self.red::RedBehaviacTree::redCustomFunc(&quot;xJnfnulPwKNV&quot;,&quot;qFlHFcJHgRNA&quot;,&quot;kWfEviuab6kC&quot;)"/>
  141. <property ResultOption="BT_SUCCESS"/>
  142. </node>
  143. <node class="Action" id="37">
  144. <property Method="Self.red::RedBehaviacTree::getSubRedTreeState(&quot;qFlHFcJHgRNA&quot;)"/>
  145. <property ResultOption="BT_INVALID"/>
  146. </node>
  147. </node>
  148. <node class="Sequence" id="38">
  149. <node class="Action" id="39">
  150. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;ZnYXyx7t4ciQ&quot;,&quot;3&quot;)"/>
  151. <property ResultOption="BT_SUCCESS"/>
  152. </node>
  153. </node>
  154. </node>
  155. </node>
  156. </behavior>