KvlUQ3bYonxP.xml 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="KvlUQ3bYonxP" version="5">
  3. <node class="Sequence" id="0">
  4. <node class="Assignment" id="8">
  5. <property CastRight="false"/>
  6. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  7. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;关卡数&quot;)"/>
  8. </node>
  9. <node class="Assignment" id="9">
  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="10">
  15. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_1&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  16. <property ResultOption="BT_SUCCESS"/>
  17. </node>
  18. <node class="Assignment" id="4">
  19. <property CastRight="false"/>
  20. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  21. <property Opr="Self.red::RedBehaviacTree::getFunStringVar(&quot;关卡数&quot;)"/>
  22. </node>
  23. <node class="Assignment" id="5">
  24. <property CastRight="true"/>
  25. <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
  26. <property Opr="Self.red::RedBehaviacTree::stringToFloat(string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  27. </node>
  28. <node class="Action" id="6">
  29. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables(&quot;__ttbt__localVariableIndex_0&quot;,float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
  30. <property ResultOption="BT_SUCCESS"/>
  31. </node>
  32. <node class="IfElse" id="1">
  33. <node class="And" id="2">
  34. <node class="Condition" id="3">
  35. <property Operator="Greater"/>
  36. <property Opl="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_0&quot;)"/>
  37. <property Opr="const float 21"/>
  38. </node>
  39. <node class="Condition" id="7">
  40. <property Operator="Equal"/>
  41. <property Opl="Self.red::RedBehaviacTree::getLocalTreeFloat(&quot;__ttbt__localVariableIndex_1&quot;)"/>
  42. <property Opr="const float 21"/>
  43. </node>
  44. </node>
  45. <node class="Sequence" id="11">
  46. <node class="Assignment" id="12">
  47. <property CastRight="false"/>
  48. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  49. <property Opr="const string &quot;保险箱动画&quot;"/>
  50. </node>
  51. <node class="Action" id="13">
  52. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_2&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  53. <property ResultOption="BT_SUCCESS"/>
  54. </node>
  55. <node class="Action" id="14">
  56. <property Method="Self.red::RedBehaviacTree::notifyDevelopment(&quot;0XUhlpNX5zyT&quot;,&quot;__ttbt__localVariableIndex_2&quot;)"/>
  57. <property ResultOption="BT_SUCCESS"/>
  58. </node>
  59. </node>
  60. <node class="Noop" id="15"/>
  61. </node>
  62. </node>
  63. </behavior>