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

Test_Particle_Scale

Server/NPC/Roles/_Core/Tests/Test_Particle_Scale.json, 1.8 KB

Fields

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

Source

{
  "Type": "Generic",
  "Appearance": "Sheep",
  "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": [
    {
      "Sensor": {
        "Type": "Any"
      },
      "ActionsBlocking": true,
      "Actions": [
        {
          "Type": "SpawnParticles",
          "ParticleSystem": "Hearts",
          "Offset": [ 0, 1, 0 ],
          "Scale": 0.5
        },
        {
          "Type": "DisplayName",
          "DisplayName": "Scale 0.5"
        },
        {
          "Type": "Timeout",
          "Delay": [ 2, 2 ]
        },
        {
          "Type": "SpawnParticles",
          "ParticleSystem": "Hearts",
          "Offset": [ 0, 1, 0 ],
          "Scale": 1
        },
        {
          "Type": "DisplayName",
          "DisplayName": "Scale 1"
        },
        {
          "Type": "Timeout",
          "Delay": [ 2, 2 ]
        },
        {
          "Type": "SpawnParticles",
          "ParticleSystem": "Hearts",
          "Offset": [ 0, 1, 0 ],
          "Scale": 2
        },
        {
          "Type": "DisplayName",
          "DisplayName": "Scale 2"
        },
        {
          "Type": "Timeout",
          "Delay": [ 2, 2 ]
        },
        {
          "Type": "SpawnParticles",
          "ParticleSystem": "Hearts",
          "Offset": [ 0, 1, 0 ],
          "Scale": 3
        },
        {
          "Type": "DisplayName",
          "DisplayName": "Scale 3"
        },
        {
          "Type": "Timeout",
          "Delay": [ 2, 2 ]
        }
      ]
    }
  ],
  "NameTranslationKey": "server.npcRoles.Test_Particle_Scale.name"
}