Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.10 / NPC / Roles / _Core / Tests / Test_Fly.json

Test_Fly

Server/NPC/Roles/_Core/Tests/Test_Fly.json, 864 B

Fields

FieldType
Typestring
Appearancestring
MotionControllerListarray[1]
TestTypestring
MaxHealthobject
Parametersobject
Instructionsarray[1]
NameTranslationKeystring

Source

{
  "Type": "Generic",
  "Appearance": "Pigeon",
  "MotionControllerList": [
    {
      "Type": "Fly",
      "MinAirSpeed": 0.1,
      "MinHeightOverGround": 1,
      "MaxHeightOverGround": 8
    }
  ],
  "TestType": "Normal",
  "MaxHealth": { "Compute": "MaxHealth" },
  "Parameters": {
    "MaxHealth": {
      "Value": 100,
      "Description": "Max health for the NPC"
    }
  },
  "Instructions": [
    {
      "Instructions": [
        {
          "Sensor": {
            "Type": "Any"
          },
          "BodyMotion": {
            "Type": "Wander",
            "RelativeSpeed": 1,
            "MinWalkTime": 3,
            "TestsPerTick": 1,
            "MinHeadingChange": 0,
            "MaxHeadingChange": 180,
            "RelaxHeadingChange": true
          }
        }
      ]
    }
  ],
  "NameTranslationKey": "server.npcRoles.Test_Fly.name"
}