l24R3sSTo7Cf.xml 6.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="l24R3sSTo7Cf" 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;UtJEnyDMyRto&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;m6bDvoRrmXi&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="const string &quot;绑定奖品节点&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="const string &quot;&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::notifyDevelopmentWithParamAndNode(&quot;5SYCeFec11Hb&quot;,&quot;__ttbt__localVariableIndex_2&quot;,&quot;__ttbt__localVariableIndex_3&quot;,&quot;u583wvTt90p&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;TyJkr0pEGKgy&quot;,&quot;R4jvrJ9ajCeG&quot;,&quot;__ttbt__localVariableIndex_6&quot;,&quot;__ttbt__localVariableIndex_7&quot;)"/>
  103. <property ResultOption="BT_SUCCESS"/>
  104. </node>
  105. <node class="Action" id="25">
  106. <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
  107. <property ResultOption="BT_SUCCESS"/>
  108. </node>
  109. <node class="Action" id="26">
  110. <property Method="Self.red::RedBehaviacTree::customFunc(&quot;MOQp6AODajC&quot;,&quot;mz4Y0KjMasm&quot;)"/>
  111. <property ResultOption="BT_SUCCESS"/>
  112. </node>
  113. <node class="Action" id="27">
  114. <property Method="Self.red::RedBehaviacTree::getTreeState()"/>
  115. <property ResultOption="BT_INVALID"/>
  116. </node>
  117. </node>
  118. </behavior>