123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- <?xml version="1.0" encoding="UTF-8"?>
- <behavior agenttype="red::RedBehaviacTree" name="20wdx7tkVJKt" version="5">
- <node class="Sequence" id="0">
- <node class="Action" id="1">
- <property Method="Self.red::RedBehaviacTree::playTimeLine("do8utcsm4Ggh","0")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="2">
- <property Method="Self.red::RedBehaviacTree::playSubredTimeLine("xpNMoZdUfQyo","LY9incAlfLNQ","0")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="3">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getFunStringVar("进度起点")"/>
- </node>
- <node class="Action" id="4">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_0",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="5">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="const string "/""/>
- </node>
- <node class="Action" id="6">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_1",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="7">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::stringLink("__ttbt__localVariableIndex_0","__ttbt__localVariableIndex_1")"/>
- </node>
- <node class="Action" id="8">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_2",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="9">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getLocalTreeString("__ttbt__localVariableIndex_2")"/>
- </node>
- <node class="Action" id="10">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_3",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="11">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getFunStringVar("进度总量")"/>
- </node>
- <node class="Action" id="12">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_4",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="13">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::stringLink("__ttbt__localVariableIndex_3","__ttbt__localVariableIndex_4")"/>
- </node>
- <node class="Action" id="14">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_5",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="15">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getLocalTreeString("__ttbt__localVariableIndex_5")"/>
- </node>
- <node class="Action" id="16">
- <property Method="Self.red::RedBehaviacTree::setLabelTitle("hAzRt1qm31kv","WtpF9xImbjQP",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="18">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getFunStringVar("进度起点")"/>
- </node>
- <node class="Assignment" id="19">
- <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="20">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_6",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="21">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getFunStringVar("进度总量")"/>
- </node>
- <node class="Assignment" id="22">
- <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="23">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_7",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Compute" id="17">
- <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="24">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_8",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Compute" id="25">
- <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="26">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_9",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="27">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_9")"/>
- </node>
- <node class="Action" id="28">
- <property Method="Self.red::RedBehaviacTree::redProgressBar("lVFC2jyK81dl","PDvXtuZ9hXBL",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="29">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getFunStringVar("进度起点")"/>
- </node>
- <node class="Action" id="30">
- <property Method="Self.red::RedBehaviacTree::setCustomDataVar("S3G73Rj7TPYZ","进度起点",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="31">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getFunStringVar("进度终点")"/>
- </node>
- <node class="Action" id="32">
- <property Method="Self.red::RedBehaviacTree::setCustomDataVar("le8AMqLRAEDL","进度终点",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="33">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getFunStringVar("进度总量")"/>
- </node>
- <node class="Action" id="34">
- <property Method="Self.red::RedBehaviacTree::setCustomDataVar("UUIJpGkQhEX5","进度总量",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="35">
- <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="36">
- <property Method="Self.red::RedBehaviacTree::customFunc("PNX6Izb2JOBc","wYuIetAnSot8")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="37">
- <property Method="Self.red::RedBehaviacTree::getTreeState()"/>
- <property ResultOption="BT_INVALID"/>
- </node>
- </node>
- </behavior>
|