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

Test_Boss_Spawning

Server/NPC/Roles/_Core/Tests/Integration/Test_Boss_Spawning.json, 1.1 KB

Fields

FieldType
Typestring
Appearancestring
KnockbackScalenumber
FlockAllowedNPCarray[1]
MotionControllerListarray[1]
MaxHealthobject
Parametersobject
Instructionsarray[1]
NameTranslationKeystring

Source

{
  "Type": "Generic",
  "Appearance": "Mannequin",
  "KnockbackScale": 0,
  "FlockAllowedNPC": [ "Test_Can_Join_Flock" ],
  "MotionControllerList": [
    {
      "Type": "Walk",
      "MaxWalkSpeed": 3,
      "Gravity": 10,
      "MaxFallSpeed": 8,
      "Acceleration": 10
    }
  ],
  "MaxHealth": { "Compute": "MaxHealth" },
  "Parameters": {
    "MaxHealth": {
      "Value": 100,
      "Description": "Max health for the NPC"
    }
  },
  "Instructions": [
    {
      "Instructions": [
        {
          "Sensor": {
            "Type": "Any",
            "Once": true
          },
          "ActionsBlocking": true,
          "Actions": [
            {
              "Type": "Spawn",
              "Kind": "Test_Boss_Minion",
              "CountRange": [ 2, 2 ],
              "DistanceRange": [ 2, 2 ]
            }
          ]
        },
        {
          "Sensor": {
            "Type": "Any"
          },
          "BodyMotion": {
            "Type": "Nothing"
          }
        }
      ]
    }
  ],
  "NameTranslationKey": "server.npcRoles.Test_Boss_Spawning.name"
}