123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156 |
- <?xml version="1.0" encoding="UTF-8"?>
- <behavior agenttype="red::RedBehaviacTree" name="q445m0fSUdq" version="5">
- <node class="Sequence" id="0">
- <node class="Assignment" id="3">
- <property CastRight="true"/>
- <property Opl="float Self.red::RedBehaviacTree::temporaryVariablesFloat"/>
- <property Opr="Self.red::RedBehaviacTree::getCoderFloat("P-tFinished")"/>
- </node>
- <node class="Action" id="4">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_0",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="5">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::numRandOperator("__ttbt__localVariableIndex_0")"/>
- </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::getLocalTreeString("__ttbt__localVariableIndex_1")"/>
- </node>
- <node class="Assignment" id="8">
- <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="9">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariables("__ttbt__localVariableIndex_2",float Self.red::RedBehaviacTree::temporaryVariablesFloat)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="IfElse" id="1">
- <node class="Condition" id="2">
- <property Operator="Equal"/>
- <property Opl="Self.red::RedBehaviacTree::getLocalTreeFloat("__ttbt__localVariableIndex_2")"/>
- <property Opr="const float 0"/>
- </node>
- <node class="Sequence" id="10">
- <node class="Assignment" id="12">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getCoderString("P-tType")"/>
- </node>
- <node class="Action" id="13">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_3",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="const string "1""/>
- </node>
- <node class="Action" id="15">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_4",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="IfElse" id="11">
- <node class="Condition" id="16">
- <property Operator="Equal"/>
- <property Opl="Self.red::RedBehaviacTree::stringEqual("__ttbt__localVariableIndex_3","__ttbt__localVariableIndex_4")"/>
- <property Opr="const bool true"/>
- </node>
- <node class="Sequence" id="17">
- <node class="Action" id="18">
- <property Method="Self.red::RedBehaviacTree::playTimeLine("FJ19foqiZKqh","0")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="19">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getCoderString("P-tResPng")"/>
- </node>
- <node class="Action" id="20">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_5",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <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::getCoderString("P-tPlist")"/>
- </node>
- <node class="Action" id="22">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_6",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="23">
- <property Method="Self.red::RedBehaviacTree::setSpritePlist("pvmTAd9fwqPq","H5s8Q2ka5C45","__ttbt__localVariableIndex_6","__ttbt__localVariableIndex_5")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- </node>
- <node class="Sequence" id="24">
- <node class="Assignment" id="26">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="Self.red::RedBehaviacTree::getCoderString("P-tType")"/>
- </node>
- <node class="Action" id="27">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_7",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Assignment" id="28">
- <property CastRight="false"/>
- <property Opl="string Self.red::RedBehaviacTree::temporaryVariablesString"/>
- <property Opr="const string "2""/>
- </node>
- <node class="Action" id="29">
- <property Method="Self.red::RedBehaviacTree::storageTemporaryVariablesString("__ttbt__localVariableIndex_8",string Self.red::RedBehaviacTree::temporaryVariablesString)"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="IfElse" id="25">
- <node class="Condition" id="30">
- <property Operator="Equal"/>
- <property Opl="Self.red::RedBehaviacTree::stringEqual("__ttbt__localVariableIndex_7","__ttbt__localVariableIndex_8")"/>
- <property Opr="const bool true"/>
- </node>
- <node class="Sequence" id="31">
- <node class="Action" id="32">
- <property Method="Self.red::RedBehaviacTree::playTimeLine("Kkz4aXLFuVzu","1")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- </node>
- <node class="Sequence" id="33">
- <node class="Action" id="34">
- <property Method="Self.red::RedBehaviacTree::playTimeLine("ntypaMoPq2sA","2")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- </node>
- </node>
- </node>
- </node>
- </node>
- <node class="Sequence" id="35">
- <node class="Action" id="36">
- <property Method="Self.red::RedBehaviacTree::playTimeLine("kQ1oLFgY16EI","3")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- </node>
- </node>
- <node class="Action" id="37">
- <property Method="Self.red::RedBehaviacTree::clearFunLocalMap()"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="38">
- <property Method="Self.red::RedBehaviacTree::redCustomFunc("4xXyhxh35Uhv","yqN3qpiZkVY","LGM0uDVNVEqz")"/>
- <property ResultOption="BT_SUCCESS"/>
- </node>
- <node class="Action" id="39">
- <property Method="Self.red::RedBehaviacTree::getSubRedTreeState("yqN3qpiZkVY")"/>
- <property ResultOption="BT_INVALID"/>
- </node>
- </node>
- </behavior>
|