123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258 |
- <?xml version="1.0" encoding="UTF-8"?>
- <behavior agenttype="red::RedBehaviacTree" name="JG1rbSxhbO1Y" version="5">
- <node class="Sequence" id="0">
- <node class="Assignment" id="3">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getFunStringVar("关卡数")"/>
- </node>
- <node class="Assignment" id="4">
- <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="5">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_0",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="IfElse" id="1">
- <node class="Condition" id="2">
- <property Operator="Less"/>
- <property Opl="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_0")"/>
- <property Opr="const float 6"/>
- </node>
- <node class="Sequence" id="6">
- <node class="Assignment" id="9">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getFunStringVar("关卡数")"/>
- </node>
- <node class="Assignment" id="10">
- <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="11">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_1",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Compute" id="8">
- <property Operator="Div"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_1")"/>
- <property Opr2="const float 5"/>
- </node>
- <node class="Action" id="12">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_2",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Compute" id="13">
- <property Operator="Mul"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_2")"/>
- <property Opr2="const float 100"/>
- </node>
- <node class="Action" id="14">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_3",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="15">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_3")"/>
- </node>
- <node class="Action" id="7">
- <property Method="Self.red::RedBehaviacTree::sceneProgressBar("rbBvkYn4ew8O","PQTaal8tZVxb","k6mdSzKzP4tN",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="17">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="const float 0"/>
- </node>
- <node class="Action" id="16">
- <property Method="Self.red::RedBehaviacTree::sceneProgressBar("xmVfKcEQddKe","r0eQeI1Ri5tH","k6mdSzKzP4tN",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="19">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="const float 0"/>
- </node>
- <node class="Action" id="18">
- <property Method="Self.red::RedBehaviacTree::sceneProgressBar("x9YtPlfQZKp3","wWbTmypGoZHs","k6mdSzKzP4tN",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- </node>
- <node class="Sequence" id="20">
- <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_4",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="IfElse" id="21">
- <node class="Condition" id="22">
- <property Operator="Less"/>
- <property Opl="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_4")"/>
- <property Opr="const float 11"/>
- </node>
- <node class="Sequence" id="26">
- <node class="Assignment" id="28">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="const float 100"/>
- </node>
- <node class="Action" id="27">
- <property Method="Self.red::RedBehaviacTree::sceneProgressBar("3Y3Nso5ol8NT","PQTaal8tZVxb","k6mdSzKzP4tN",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <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="Assignment" id="32">
- <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="33">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_5",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Compute" id="30">
- <property Operator="Sub"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_5")"/>
- <property Opr2="const float 5"/>
- </node>
- <node class="Action" id="34">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_6",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Compute" id="35">
- <property Operator="Div"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_6")"/>
- <property Opr2="const float 5"/>
- </node>
- <node class="Action" id="36">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_7",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Compute" id="37">
- <property Operator="Mul"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_7")"/>
- <property Opr2="const float 100"/>
- </node>
- <node class="Action" id="38">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_8",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="39">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_8")"/>
- </node>
- <node class="Action" id="29">
- <property Method="Self.red::RedBehaviacTree::sceneProgressBar("0MroMMGtNU7J","r0eQeI1Ri5tH","k6mdSzKzP4tN",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="41">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="const float 0"/>
- </node>
- <node class="Action" id="40">
- <property Method="Self.red::RedBehaviacTree::sceneProgressBar("KwhSE9ZJ1ubw","wWbTmypGoZHs","k6mdSzKzP4tN",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- </node>
- <node class="Sequence" id="42">
- <node class="Assignment" id="44">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="const float 100"/>
- </node>
- <node class="Action" id="43">
- <property Method="Self.red::RedBehaviacTree::sceneProgressBar("PqWK3reK4UEK","PQTaal8tZVxb","k6mdSzKzP4tN",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="46">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="const float 100"/>
- </node>
- <node class="Action" id="45">
- <property Method="Self.red::RedBehaviacTree::sceneProgressBar("miVSfDHG6xJx","r0eQeI1Ri5tH","k6mdSzKzP4tN",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="49">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getFunStringVar("关卡数")"/>
- </node>
- <node class="Assignment" id="50">
- <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="51">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_9",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Compute" id="48">
- <property Operator="Sub"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_9")"/>
- <property Opr2="const float 10"/>
- </node>
- <node class="Action" id="52">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_10",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Compute" id="53">
- <property Operator="Div"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_10")"/>
- <property Opr2="const float 11"/>
- </node>
- <node class="Action" id="54">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_11",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Compute" id="55">
- <property Operator="Mul"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr1="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_11")"/>
- <property Opr2="const float 100"/>
- </node>
- <node class="Action" id="56">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_12",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="57">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_12")"/>
- </node>
- <node class="Action" id="47">
- <property Method="Self.red::RedBehaviacTree::sceneProgressBar("LoNWnaGpgfxW","wWbTmypGoZHs","k6mdSzKzP4tN",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- </node>
- </node>
- </node>
- </node>
- </node>
- </behavior>
|