{ "AbilityName": "Palicus_TriggerTeleport", "AbilityStacking": "Unique", "OnAbilityTrigger": [ { "$type": "BranchOperator", "Conditions": [ { "$type": "ByNot", "Predicates": [ { "$type": "ByIsInZoneTags", "CustomKey": "Monster_Palicus_Melee", "Tags": [ "InAction_L" ], "Target": "Custom" } ] }, { "$type": "ByOr", "Predicates": [ { "$type": "ByIsInZoneTags", "CustomKey": "Monster_Palicus_Range", "Tags": [ "InAction_L" ], "Target": "Custom" }, { "$type": "ByAnd", "Predicates": [ { "$type": "ByIsInsideCameraView", "CheckDistance": 15, "CustomKey": "Monster_Palicus_Range", "Target": "Custom" }, { "$type": "ByNot", "Predicates": [ { "$type": "ByIsInsideCameraView", "CheckDistance": 15, "CustomKey": "Monster_Palicus_Melee", "Target": "Custom" } ] } ] } ] } ], "FailureActions": [ { "$type": "SendBehaviorTreeEventAction", "CustomKey": "Monster_Palicus_Range", "EventName": "Teleport", "Target": "Custom" } ], "SuccessActions": [ { "$type": "SendBehaviorTreeEventAction", "CustomKey": "Monster_Palicus_Melee", "EventName": "Teleport", "Target": "Custom" } ] } ] }