Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.5 / NPC / Roles / Void / Components / Component_Instruction_Void_Eye_Summon.json

Component_Instruction_Void_Eye_Summon

Server/NPC/Roles/Void/Components/Component_Instruction_Void_Eye_Summon.json, 2.4 KB

Fields

FieldType
Typestring
Classstring
Interfacestring
DefaultStatestring
Parametersobject
Contentobject

Source

{
  "Type": "Component",
  "Class": "Instruction",
  "Interface": "Hytale.Instruction.Combat",
  "DefaultState": ".Default",
  "Parameters": { },
  "Content": {
    "TreeMode": true,
    "Sensor": {
      "Type": "Any"
    },
    "Instructions": [
      {
        "Sensor": {
          "Type": "State",
          "State": ".Spawn"
        },
        "Instructions": [
          {
            "Continue": true,
            "Sensor": {
              "Type": "Target",
              "Filters": [
                {
                  "Type": "LineOfSight"
                }
              ]
            },
            "BodyMotion": {
              "Type": "MatchLook"
            },
            "HeadMotion": {
              "Type": "Aim"
            }
          },
          {
            "Sensor": {
              "Type": "State",
              "State": ".Spawn"
            },
            "Actions": [
              {
                "Type": "Timeout",
                "Delay": [ 0.5, 0.5 ]
              },
              {
                "Type": "Attack",
                "Attack": "Eye_Void_Summon"
              },
              {
                "Type": "Timeout",
                "Delay": [ 0.25, 0.25 ]
              },
              {
                "Type": "Spawn",
                "CountRange": [ 2, 4 ],
                "DelayRange": [ 0, 0 ],
                "JoinFlock": true,
                "Kind": "Crawler_Void",
                "SpawnAngle": 180
              },
              {
                "Type": "FlockBeacon",
                "Message": "Kill_My_Pretties_KILL",
                "SendTargetSlot": "LockedTarget"
              },
              {
                "Type": "Timeout",
                "Delay": [ 1, 1 ]
              },
              {
                "Type": "State",
                "State": ".Default"
              }
            ]
          }
        ]
      },
      {
        "InvertTreeModeResult": true,
        "Sensor": {
          "Type": "State",
          "State": ".Default"
        },
        "Instructions": [
          {
            "Sensor": {
              "Type": "Self",
              "Filters": [
                {
                  "Type": "Flock",
                  "FlockStatus": "NotMember"
                }
              ]
            },
            "Actions": [
              {
                "Type": "State",
                "State": ".Spawn"
              }
            ]
          }
        ]
      }
    ]
  }
}