Hytale Asset ReferenceUnofficial
Versions / 0.6.0-pre.6 / NPC / Roles / _Core / Tests_Development / Test_Manual_Beacon.json

Test_Manual_Beacon

Server/NPC/Roles/_Core/Tests_Development/Test_Manual_Beacon.json, 950 B

Fields

FieldType
Typestring
Appearancestring
HotbarItemsarray[0]
MotionControllerListarray[1]
MaxHealthobject
Parametersobject
Instructionsarray[1]
NameTranslationKeystring

Source

{
  "Type": "Generic",
  "Appearance": "Sheep",
  "HotbarItems": [ ],
  "MotionControllerList": [
    {
      "Type": "Walk",
      "MaxWalkSpeed": 3,
      "Gravity": 10,
      "MaxFallSpeed": 20,
      "Acceleration": 10
    }
  ],
  "MaxHealth": { "Compute": "MaxHealth" },
  "Parameters": {
    "MaxHealth": {
      "Value": 100,
      "Description": "Max health for the NPC"
    }
  },
  "Instructions": [
    {
      "Instructions": [
        {
          "Sensor": {
            "Type": "Player",
            "Range": 5
          },
          "ActionsBlocking": true,
          "Actions": [
            {
              "Type": "TriggerSpawnBeacon",
              "BeaconSpawn": "Zone1_Player_Local",
              "Range": 20
            },
            {
              "Type": "Timeout",
              "Delay": [ 10, 10 ]
            }
          ]
        }
      ]
    }
  ],
  "NameTranslationKey": "server.npcRoles.Test_Manual_Beacon.name"
}