behaviour_tree

Stay Defend

Fields

FieldValue
nodes
[
  {
    "input": {},
    "name": "PatrolAll",
    "nodes": [
      {
        "input": {},
        "name": "RandomBanter",
        "nodes": [],
        "type": "NodeRandomBanter",
        "weight": 1
      },
      {
        "input": {},
        "name": "PatrolSelector",
        "nodes": [
          {
            "input": {
              "targetName": "TargetEnemy"
            },
            "name": "FindHostileNPC",
            "nodes": [
              {
                "input": {
                  "treeId": "attack"
                },
                "name": "IncludeAttackTree",
                "nodes": [],
                "type": "NodeTreeInclude",
                "weight": 1
              }
            ],
            "type": "NodeFindHostileNPC",
            "weight": 1
          },
          {
            "input": {},
            "name": "SpawnPointMove",
            "nodes": [],
            "type": "NodeSpawnPointMoveTo",
            "weight": 1
          }
        ],
        "type": "NodeSelector",
        "weight": 1
      }
    ],
    "type": "NodeAll",
    "weight": 1
  }
]