Test_Particle_Scale
Server/NPC/Roles/_Core/Tests/Test_Particle_Scale.json, 1.8 KB
Fields
| Field | Type |
|---|---|
Type | string |
Appearance | string |
MotionControllerList | array[1] |
MaxHealth | object |
Parameters | object |
Instructions | array[1] |
NameTranslationKey | string |
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"
}