yFBps0ef4jld.xml 8.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="yFBps0ef4jld" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="Action" id="1">
  5. <property Method="Self.red::RedBehaviacTree::hiddenNode(&quot;Aq5pW0eXiKqY&quot;,&quot;mTUaTrpwdWxD&quot;)"/>
  6. <property ResultOption="BT_SUCCESS"/>
  7. </node>
  8. <node class="Action" id="2">
  9. <property Method="Self.red::RedBehaviacTree::hiddenNode(&quot;pSvUNPDMWaQr&quot;,&quot;mU1D10PQC8TL&quot;)"/>
  10. <property ResultOption="BT_SUCCESS"/>
  11. </node>
  12. <node class="Action" id="3">
  13. <property Method="Self.red::RedBehaviacTree::hiddenNode(&quot;yODSmT8RReiS&quot;,&quot;1LBYsJgSmGXF&quot;)"/>
  14. <property ResultOption="BT_SUCCESS"/>
  15. </node>
  16. <node class="Action" id="4">
  17. <property Method="Self.red::RedBehaviacTree::hiddenNode(&quot;QSmEaXminq7h&quot;,&quot;Xc5YJgqZLfZ6&quot;)"/>
  18. <property ResultOption="BT_SUCCESS"/>
  19. </node>
  20. <node class="Assignment" id="11">
  21. <property CastRight="true"/>
  22. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  23. <property Opr="Self.red::RedBehaviacTree::nodeGetPosY(&quot;9iOLyYlAsa94&quot;)"/>
  24. </node>
  25. <node class="Action" id="12">
  26. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_3&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  27. <property ResultOption="BT_SUCCESS"/>
  28. </node>
  29. <node class="Compute" id="7">
  30. <property Operator="Mul"/>
  31. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  32. <property Opr1="Self.red::RedBehaviacTree::getCustomFloat(&quot;基本距离&quot;)"/>
  33. <property Opr2="const float 2"/>
  34. </node>
  35. <node class="Action" id="8">
  36. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_1&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  37. <property ResultOption="BT_SUCCESS"/>
  38. </node>
  39. <node class="Assignment" id="5">
  40. <property CastRight="true"/>
  41. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  42. <property Opr="Self.red::RedBehaviacTree::nodeGetPosX(&quot;9iOLyYlAsa94&quot;)"/>
  43. </node>
  44. <node class="Action" id="6">
  45. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_0&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  46. <property ResultOption="BT_SUCCESS"/>
  47. </node>
  48. <node class="Compute" id="9">
  49. <property Operator="Add"/>
  50. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  51. <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_0&quot;)"/>
  52. <property Opr2="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_1&quot;)"/>
  53. </node>
  54. <node class="Action" id="10">
  55. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_2&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  56. <property ResultOption="BT_SUCCESS"/>
  57. </node>
  58. <node class="Assignment" id="13">
  59. <property CastRight="true"/>
  60. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  61. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_2&quot;)"/>
  62. </node>
  63. <node class="Action" id="14">
  64. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_4&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  65. <property ResultOption="BT_SUCCESS"/>
  66. </node>
  67. <node class="Assignment" id="15">
  68. <property CastRight="true"/>
  69. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  70. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_3&quot;)"/>
  71. </node>
  72. <node class="Action" id="16">
  73. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_5&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  74. <property ResultOption="BT_SUCCESS"/>
  75. </node>
  76. <node class="Action" id="17">
  77. <property Method="Self.red::RedBehaviacTree::nodeSetPos(&quot;KLMcOwUQECYO&quot;,&quot;9iOLyYlAsa94&quot;,&quot;__ttbt__localVariableIndex_4&quot;,&quot;__ttbt__localVariableIndex_5&quot;)"/>
  78. <property ResultOption="BT_SUCCESS"/>
  79. </node>
  80. <node class="Assignment" id="24">
  81. <property CastRight="true"/>
  82. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  83. <property Opr="Self.red::RedBehaviacTree::nodeGetPosY(&quot;VNIdHwrsM4vS&quot;)"/>
  84. </node>
  85. <node class="Action" id="25">
  86. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_9&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  87. <property ResultOption="BT_SUCCESS"/>
  88. </node>
  89. <node class="Compute" id="20">
  90. <property Operator="Mul"/>
  91. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  92. <property Opr1="Self.red::RedBehaviacTree::getCustomFloat(&quot;基本距离&quot;)"/>
  93. <property Opr2="const float 2"/>
  94. </node>
  95. <node class="Action" id="21">
  96. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_7&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  97. <property ResultOption="BT_SUCCESS"/>
  98. </node>
  99. <node class="Assignment" id="18">
  100. <property CastRight="true"/>
  101. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  102. <property Opr="Self.red::RedBehaviacTree::nodeGetPosX(&quot;VNIdHwrsM4vS&quot;)"/>
  103. </node>
  104. <node class="Action" id="19">
  105. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_6&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  106. <property ResultOption="BT_SUCCESS"/>
  107. </node>
  108. <node class="Compute" id="22">
  109. <property Operator="Add"/>
  110. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  111. <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_6&quot;)"/>
  112. <property Opr2="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_7&quot;)"/>
  113. </node>
  114. <node class="Action" id="23">
  115. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_8&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  116. <property ResultOption="BT_SUCCESS"/>
  117. </node>
  118. <node class="Assignment" id="26">
  119. <property CastRight="true"/>
  120. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  121. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_8&quot;)"/>
  122. </node>
  123. <node class="Action" id="27">
  124. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_10&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  125. <property ResultOption="BT_SUCCESS"/>
  126. </node>
  127. <node class="Assignment" id="28">
  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="29">
  133. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_11&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  134. <property ResultOption="BT_SUCCESS"/>
  135. </node>
  136. <node class="Action" id="30">
  137. <property Method="Self.red::RedBehaviacTree::nodeSetPos(&quot;awlATaXYjRa6&quot;,&quot;VNIdHwrsM4vS&quot;,&quot;__ttbt__localVariableIndex_10&quot;,&quot;__ttbt__localVariableIndex_11&quot;)"/>
  138. <property ResultOption="BT_SUCCESS"/>
  139. </node>
  140. </node>
  141. </behavior>