123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- <?xml version="1.0" encoding="UTF-8"?>
- <behavior agenttype="red::RedBehaviacTree" name="kTStvwh1gBZk" version="5">
- <node class="Sequence" id="0">
- <node class="Action" id="1">
- <property Method="Self.red::RedBehaviacTree::showSelf("pdRdm6IcsmIw")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="2">
- <property Method="Self.red::RedBehaviacTree::playTimeLine("i3AMBZYb0xDw","0")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="3">
- <property Method="Self.red::RedBehaviacTree::playSubredTimeLine("rQ4U0Y1TWKUF","jNpYXJNFqd44::c663GWAEmaW7","0")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="4">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getFunStringVar("当前数量")"/>
- </node>
- <node class="Action" id="5">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_0",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="6">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="const string "/""/>
- </node>
- <node class="Action" id="7">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_1",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="8">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getFunStringVar("总数量")"/>
- </node>
- <node class="Action" id="9">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_2",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="10">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="const string """/>
- </node>
- <node class="Action" id="11">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_3",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="12">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="const string """/>
- </node>
- <node class="Action" id="13">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_4",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="14">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::stringLinkMoreOperator("__ttbt__localVariableIndex_0","__ttbt__localVariableIndex_1","__ttbt__localVariableIndex_2","__ttbt__localVariableIndex_3","__ttbt__localVariableIndex_4")"/>
- </node>
- <node class="Action" id="15">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_5",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="16">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getLocalTreeString("__ttbt__localVariableIndex_5")"/>
- </node>
- <node class="Action" id="17">
- <property Method="Self.red::RedBehaviacTree::setSceneLabelTitle("uEctT9xgQbBy","jNpYXJNFqd44","rKcGR8kyzyaw",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="20">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getFunStringVar("当前数量")"/>
- </node>
- <node class="Assignment" id="21">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::stringToFloat(string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- </node>
- <node class="Action" id="22">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_6",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="23">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getFunStringVar("总数量")"/>
- </node>
- <node class="Assignment" id="24">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::stringToFloat(string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- </node>
- <node class="Action" id="25">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_7",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Compute" id="19">
- <property Operator="Div"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_6")"/>
- <property Opr2="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_7")"/>
- </node>
- <node class="Action" id="26">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_8",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Compute" id="27">
- <property Operator="Mul"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_8")"/>
- <property Opr2="const float 100"/>
- </node>
- <node class="Action" id="28">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_9",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="29">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_9")"/>
- </node>
- <node class="Action" id="18">
- <property Method="Self.red::RedBehaviacTree::sceneProgressBar("AWHVYzDG86gn","jNpYXJNFqd44","FKpkWxnZTNOM",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- </node>
- </behavior>
|