Hytale Asset ReferenceUnofficial
Versions / 0.5.5 / NPC / Roles / _Core / Tests / HotboxTests / Static.json

Static

Server/NPC/Roles/_Core/Tests/HotboxTests/Static.json, 1.1 KB

Fields

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

Source

{
  "$Comment": "SETTING THE INITIAL STATE OF THE NPC ON THE NEXT LINE!",
  "StartState": "Idle",
  "Type": "Generic",
  "Appearance": "Trork_Warrior",
  "MotionControllerList": [
    {
      "Type": "Walk",
      "MaxWalkSpeed": 1,
      "Gravity": 10,
      "MaxFallSpeed": 8,
      "Acceleration": 10
    }
  ],
  "TestType": "Normal",
  "MaxHealth": { "Compute": "MaxHealth" },
  "Parameters": {
    "MaxHealth": {
      "Value": 100,
      "Description": "Max health for the NPC"
    }
  },
  "Instructions": [
    {
      "Instructions": [
        {
          "$Comment": "--------THE IDLE STATE---------",
          "Sensor": {
            "Type": "State",
            "State": "Idle"
          },
          "Instructions": [
            {
              "$Comment": "Animations",
              "Continue": true,
              "Sensor": {
                "Type": "Any"
              },
              "Actions": [
                {
                  "Type": "PlayAnimation",
                  "Slot": "Status"
                }
              ]
            }
          ]
        }
      ]
    }
  ],
  "NameTranslationKey": "server.npcRoles.Static.name"
}