ZsE9oPsCJ9Zc.xml 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="ZsE9oPsCJ9Zc" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="Assignment" id="3">
  5. <property CastRight="false"/>
  6. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  7. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;格子ID&quot;)"/>
  8. </node>
  9. <node class="Assignment" id="4">
  10. <property CastRight="true"/>
  11. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  12. <property Opr="Self.red::RedBehaviacTree::stringToFloat(string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  13. </node>
  14. <node class="Action" id="5">
  15. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_0&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  16. <property ResultOption="BT_SUCCESS"/>
  17. </node>
  18. <node class="IfElse" id="1">
  19. <node class="Condition" id="2">
  20. <property Operator="Equal"/>
  21. <property Opl="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_0&quot;)"/>
  22. <property Opr="const float 1"/>
  23. </node>
  24. <node class="Sequence" id="6">
  25. <node class="Assignment" id="13">
  26. <property CastRight="true"/>
  27. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  28. <property Opr="Self.red::RedBehaviacTree::nodeGetGlobalPosY(&quot;tqWrLdD1IsjF&quot;)"/>
  29. </node>
  30. <node class="Action" id="14">
  31. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_4&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  32. <property ResultOption="BT_SUCCESS"/>
  33. </node>
  34. <node class="Assignment" id="11">
  35. <property CastRight="true"/>
  36. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  37. <property Opr="Self.red::RedBehaviacTree::nodeGetGlobalPosX(&quot;tqWrLdD1IsjF&quot;)"/>
  38. </node>
  39. <node class="Action" id="12">
  40. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_3&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  41. <property ResultOption="BT_SUCCESS"/>
  42. </node>
  43. <node class="Assignment" id="7">
  44. <property CastRight="true"/>
  45. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  46. <property Opr="const float 0"/>
  47. </node>
  48. <node class="Action" id="8">
  49. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_1&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  50. <property ResultOption="BT_SUCCESS"/>
  51. </node>
  52. <node class="Assignment" id="9">
  53. <property CastRight="true"/>
  54. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  55. <property Opr="const float 0"/>
  56. </node>
  57. <node class="Action" id="10">
  58. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_2&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  59. <property ResultOption="BT_SUCCESS"/>
  60. </node>
  61. <node class="Assignment" id="15">
  62. <property CastRight="true"/>
  63. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  64. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_3&quot;)"/>
  65. </node>
  66. <node class="Action" id="16">
  67. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_5&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  68. <property ResultOption="BT_SUCCESS"/>
  69. </node>
  70. <node class="Assignment" id="17">
  71. <property CastRight="true"/>
  72. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  73. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_4&quot;)"/>
  74. </node>
  75. <node class="Action" id="18">
  76. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_6&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  77. <property ResultOption="BT_SUCCESS"/>
  78. </node>
  79. <node class="Action" id="19">
  80. <property Method="Self.red::RedBehaviacTree::nodeSetAnimActionWithCallBack(&quot;Xcuvt6f0NZns&quot;,&quot;tqWrLdD1IsjF&quot;,&quot;daily_task_飞行.anim&quot;,&quot;PsH7JO7a4MeM&quot;,&quot;__ttbt__localVariableIndex_1&quot;,&quot;__ttbt__localVariableIndex_2&quot;,&quot;__ttbt__localVariableIndex_5&quot;,&quot;__ttbt__localVariableIndex_6&quot;)"/>
  81. <property ResultOption="BT_SUCCESS"/>
  82. </node>
  83. </node>
  84. <node class="Noop" id="20"/>
  85. </node>
  86. <node class="Assignment" id="23">
  87. <property CastRight="false"/>
  88. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  89. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;格子ID&quot;)"/>
  90. </node>
  91. <node class="Assignment" id="24">
  92. <property CastRight="true"/>
  93. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  94. <property Opr="Self.red::RedBehaviacTree::stringToFloat(string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  95. </node>
  96. <node class="Action" id="25">
  97. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_7&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  98. <property ResultOption="BT_SUCCESS"/>
  99. </node>
  100. <node class="IfElse" id="21">
  101. <node class="Condition" id="22">
  102. <property Operator="Equal"/>
  103. <property Opl="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_7&quot;)"/>
  104. <property Opr="const float 14"/>
  105. </node>
  106. <node class="Noop" id="26"/>
  107. <node class="Noop" id="27"/>
  108. </node>
  109. <node class="Assignment" id="30">
  110. <property CastRight="false"/>
  111. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  112. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;格子ID&quot;)"/>
  113. </node>
  114. <node class="Assignment" id="31">
  115. <property CastRight="true"/>
  116. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  117. <property Opr="Self.red::RedBehaviacTree::stringToFloat(string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  118. </node>
  119. <node class="Action" id="32">
  120. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_8&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  121. <property ResultOption="BT_SUCCESS"/>
  122. </node>
  123. <node class="IfElse" id="28">
  124. <node class="Condition" id="29">
  125. <property Operator="Equal"/>
  126. <property Opl="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_8&quot;)"/>
  127. <property Opr="const float 37"/>
  128. </node>
  129. <node class="Noop" id="33"/>
  130. <node class="Noop" id="34"/>
  131. </node>
  132. </node>
  133. </behavior>