{ "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" } }