7OWpJodj7ikS.xml 4.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <behavior agenttype="red::RedBehaviacTree" name="7OWpJodj7ikS" 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;是&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::playTimeLineWait(&quot;bjGtpCQXJq8c&quot;,&quot;1&quot;)"/>
  31. <property ResultOption="BT_SUCCESS"/>
  32. </node>
  33. <node class="Action" id="9">
  34. <property Method="Self.red::RedBehaviacTree::getTimeLineState(&quot;1&quot;)"/>
  35. <property ResultOption="BT_INVALID"/>
  36. </node>
  37. </node>
  38. <node class="Noop" id="10"/>
  39. </node>
  40. <node class="Assignment" id="12">
  41. <property CastRight="false"/>
  42. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  43. <property Opr="Self.red::RedBehaviacTree::getCoderString(&quot;P-是否选中&quot;)"/>
  44. </node>
  45. <node class="Action" id="13">
  46. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_2&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  47. <property ResultOption="BT_SUCCESS"/>
  48. </node>
  49. <node class="Assignment" id="14">
  50. <property CastRight="false"/>
  51. <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
  52. <property Opr="const string &quot;否&quot;"/>
  53. </node>
  54. <node class="Action" id="15">
  55. <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString(&quot;__ttbt__localVariableIndex_3&quot;,string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
  56. <property ResultOption="BT_SUCCESS"/>
  57. </node>
  58. <node class="IfElse" id="11">
  59. <node class="Condition" id="16">
  60. <property Operator="Equal"/>
  61. <property Opl="Self.red::RedBehaviacTree::stringEqual(&quot;__ttbt__localVariableIndex_2&quot;,&quot;__ttbt__localVariableIndex_3&quot;)"/>
  62. <property Opr="const bool true"/>
  63. </node>
  64. <node class="Sequence" id="17">
  65. <node class="Action" id="18">
  66. <property Method="Self.red::RedBehaviacTree::playTimeLineWait(&quot;su3dego1Wecx&quot;,&quot;0&quot;)"/>
  67. <property ResultOption="BT_SUCCESS"/>
  68. </node>
  69. <node class="Action" id="19">
  70. <property Method="Self.red::RedBehaviacTree::getTimeLineState(&quot;0&quot;)"/>
  71. <property ResultOption="BT_INVALID"/>
  72. </node>
  73. </node>
  74. <node class="Noop" id="20"/>
  75. </node>
  76. </node>
  77. </behavior>