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

Test_Walk_Seek

Server/NPC/Roles/_Core/Tests/Motion/Test_Walk_Seek.json, 902 B

Fields

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

Source

{
  "Type": "Generic",
  "Appearance": "PlayerTestModel_V",
  "Debug": "",
  "MotionControllerList": [
    {
      "Type": "Walk",
      "MaxWalkSpeed": 3,
      "Gravity": 10,
      "MaxFallSpeed": 20,
      "Acceleration": 10
    }
  ],
  "TestType": "Normal",
  "MaxHealth": { "Compute": "MaxHealth" },
  "Parameters": {
    "MaxHealth": {
      "Value": 100,
      "Description": "Max health for the NPC"
    }
  },
  "Instructions": [
    {
      "Instructions": [
        {
          "Sensor": {
            "Type": "Player",
            "Range": 80
          },
          "BodyMotion": {
            "Type": "Seek",
            "AbortDistance": 80,
            "StopDistance": 1,
            "SlowDownDistance": 1,
            "ThrottleDelayRange": [ 30, 30 ],
            "Debug": "Status"
          }
        }
      ]
    }
  ],
  "NameTranslationKey": "server.npcRoles.Test_Walk_Seek.name"
}