Files
turnbasedgamedata/Config/ConfigAI/Adventure/NPC_Track/ST_NPC_Track_2.4.json
2024-10-21 03:16:22 -03:00

121 lines
3.0 KiB
JSON

{
"AIName": "ST_NPC_Track",
"VariableList": [],
"DecisionList": [],
"RootState": {
"TransitionList": [
{
"Trigger": "OnEvent",
"UserDefineEvent": "NpcIdle",
"TransitionToState": "Idle",
"BoolVariableList": [],
"FloatVariableList": []
},
{
"Trigger": "OnEvent",
"UserDefineEvent": "NpcPatrol",
"TransitionToState": "Patrol",
"BoolVariableList": [],
"FloatVariableList": []
}
],
"SubStateList": [
{
"$type": "RPG.GameCore.StateTreeStateConfig",
"TaskList": [
{
"$type": "RPG.GameCore.ST_Main_Wait",
"Time": -1
}
],
"Name": "Idle"
},
{
"$type": "RPG.GameCore.StateTreeStateConfig",
"TaskList": [
{
"$type": "RPG.GameCore.ST_Main_PlaySmartObject",
"ParamType": "BornSmartOjbect",
"GroupId": 2,
"InstanceId": 1,
"RecordContext": true
}
],
"TransitionList": [
{
"Trigger": "OnTick",
"TransitionToState": "Search",
"Condition": {
"$type": "RPG.GameCore.AdvByPerceiveValueReachMax"
},
"BoolVariableList": [],
"FloatVariableList": []
}
],
"Name": "Patrol"
},
{
"$type": "RPG.GameCore.StateTreeStateConfig",
"EnterCondition": {
"$type": "RPG.GameCore.AdvByPlayerInVisionZone",
"ZoneTags": [
"Zone1",
"Zone3"
],
"Inverse": true
},
"TaskList": [
{
"$type": "RPG.GameCore.ST_Main_PlayFreeStyle",
"StoryAvatarID": "NPC_Male",
"StoryMotionID": 100010338,
"ForceStart": false,
"Duration": -1
}
],
"TransitionList": [
{
"Trigger": "OnTick",
"TransitionToState": "SearchExit",
"Condition": {
"$type": "RPG.GameCore.AdvByPerceiveValueReachMax",
"Inverse": true
},
"BoolVariableList": [],
"FloatVariableList": []
}
],
"Name": "Search"
},
{
"$type": "RPG.GameCore.StateTreeStateConfig",
"TaskList": [
{
"$type": "RPG.GameCore.ST_Main_PlayFreeStyle",
"StoryAvatarID": "NPC_Male",
"StoryMotionID": 100010340,
"NormalizedTimeWait": 0.5
}
],
"TransitionList": [
{
"TransitionToState": "Patrol",
"Condition": {
"$type": "RPG.GameCore.AdvByPerceiveValueReachMax",
"Inverse": true
},
"BoolVariableList": [],
"FloatVariableList": []
}
],
"Name": "SearchExit"
}
]
},
"OnDisable": {
"$type": "RPG.GameCore.TaskConfig"
},
"OnInit": {
"$type": "RPG.GameCore.TaskConfig"
}
}