oLkn8efWJd.xml 8.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="oLkn8efWJd" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="Assignment" id="2">
  5. <property CastRight="false"/>
  6. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  7. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-是当前玩家&quot;)"/>
  8. </node>
  9. <node class="Action" id="3">
  10. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_0&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  11. <property ResultOption="BT_SUCCESS"/>
  12. </node>
  13. <node class="Assignment" id="4">
  14. <property CastRight="false"/>
  15. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  16. <property Opr="const string &quot;Yes&quot;"/>
  17. </node>
  18. <node class="Action" id="5">
  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="IfElse" id="1">
  23. <node class="Condition" id="6">
  24. <property Operator="Equal"/>
  25. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_0&quot;,&quot;__ttbt__localVariableIndex_1&quot;)"/>
  26. <property Opr="const bool true"/>
  27. </node>
  28. <node class="Sequence" id="7">
  29. <node class="Action" id="8">
  30. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;49K0zEQ4NnZO&quot;,&quot;0&quot;)"/>
  31. <property ResultOption="BT_SUCCESS"/>
  32. </node>
  33. </node>
  34. <node class="Sequence" id="9">
  35. <node class="Action" id="10">
  36. <property Method="Self.red::RedBehaviacTree::playTimeLine(&quot;4O6wsnFNd7GO&quot;,&quot;1&quot;)"/>
  37. <property ResultOption="BT_SUCCESS"/>
  38. </node>
  39. </node>
  40. </node>
  41. <node class="Assignment" id="11">
  42. <property CastRight="false"/>
  43. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  44. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-头像png&quot;)"/>
  45. </node>
  46. <node class="Action" id="12">
  47. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_2&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  48. <property ResultOption="BT_SUCCESS"/>
  49. </node>
  50. <node class="Assignment" id="13">
  51. <property CastRight="false"/>
  52. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  53. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-头像plist&quot;)"/>
  54. </node>
  55. <node class="Action" id="14">
  56. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_3&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  57. <property ResultOption="BT_SUCCESS"/>
  58. </node>
  59. <node class="Action" id="15">
  60. <property Method="Self.red::RedBehaviacTree::setSpritePlist(&quot;v6un3PZjIIoV&quot;,&quot;JEAxVyYuk0k9&quot;,&quot;__ttbt__localVariableIndex_3&quot;,&quot;__ttbt__localVariableIndex_2&quot;)"/>
  61. <property ResultOption="BT_SUCCESS"/>
  62. </node>
  63. <node class="Compute" id="18">
  64. <property Operator="Div"/>
  65. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  66. <property Opr1="const float 94"/>
  67. <property Opr2="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-头像尺寸&quot;)"/>
  68. </node>
  69. <node class="Action" id="19">
  70. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_5&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  71. <property ResultOption="BT_SUCCESS"/>
  72. </node>
  73. <node class="Compute" id="16">
  74. <property Operator="Div"/>
  75. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  76. <property Opr1="const float 94"/>
  77. <property Opr2="Self.red::RedBehaviacTree::getCoderFloat(&quot;P-头像尺寸&quot;)"/>
  78. </node>
  79. <node class="Action" id="17">
  80. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_4&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  81. <property ResultOption="BT_SUCCESS"/>
  82. </node>
  83. <node class="Assignment" id="20">
  84. <property CastRight="true"/>
  85. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  86. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_4&quot;)"/>
  87. </node>
  88. <node class="Action" id="21">
  89. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_6&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  90. <property ResultOption="BT_SUCCESS"/>
  91. </node>
  92. <node class="Assignment" id="22">
  93. <property CastRight="true"/>
  94. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  95. <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_5&quot;)"/>
  96. </node>
  97. <node class="Action" id="23">
  98. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_7&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  99. <property ResultOption="BT_SUCCESS"/>
  100. </node>
  101. <node class="Action" id="24">
  102. <property Method="Self.red::RedBehaviacTree::setNodeScale(&quot;dpSkGeXqytqg&quot;,&quot;JEAxVyYuk0k9&quot;,&quot;__ttbt__localVariableIndex_6&quot;,&quot;__ttbt__localVariableIndex_7&quot;)"/>
  103. <property ResultOption="BT_SUCCESS"/>
  104. </node>
  105. <node class="Assignment" id="25">
  106. <property CastRight="false"/>
  107. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  108. <property Opr="const string &quot;绑定奖品节点&quot;"/>
  109. </node>
  110. <node class="Action" id="26">
  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="Assignment" id="27">
  115. <property CastRight="false"/>
  116. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  117. <property Opr="const string &quot;&quot;"/>
  118. </node>
  119. <node class="Action" id="28">
  120. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_9&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  121. <property ResultOption="BT_SUCCESS"/>
  122. </node>
  123. <node class="Action" id="29">
  124. <property Method="Self.red::RedBehaviacTree::notifyDevelopmentWithParamAndNode(&quot;Wh0HRSVq9nWb&quot;,&quot;__ttbt__localVariableIndex_8&quot;,&quot;__ttbt__localVariableIndex_9&quot;,&quot;G9FU3KgaszKX&quot;)"/>
  125. <property ResultOption="BT_SUCCESS"/>
  126. </node>
  127. <node class="Action" id="30">
  128. <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
  129. <property ResultOption="BT_SUCCESS"/>
  130. </node>
  131. <node class="Action" id="31">
  132. <property Method="Self.red::RedBehaviacTree::customFunc(&quot;2cCZaL4oiyNs&quot;,&quot;kzBRCpHHbYZD&quot;)"/>
  133. <property ResultOption="BT_SUCCESS"/>
  134. </node>
  135. <node class="Action" id="32">
  136. <property Method="Self.red::RedBehaviacTree::getTreeState()"/>
  137. <property ResultOption="BT_INVALID"/>
  138. </node>
  139. </node>
  140. </behavior>