Test_Animation
Server/NPC/Roles/_Core/Tests/Test_Animation.json, 927 B
Fields
| Field | Type |
|---|---|
Type | string |
Appearance | string |
MotionControllerList | array[1] |
TestType | string |
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
}
],
"TestType": "Normal",
"MaxHealth": { "Compute": "MaxHealth" },
"Parameters": {
"MaxHealth": {
"Value": 100,
"Description": "Max health for the NPC"
}
},
"Instructions": [
{
"Instructions": [
{
"Sensor": {
"Type": "Any"
},
"Actions": [
{
"Type": "Timeout",
"Delay": [ 10, 10 ],
"DelayAfter": true,
"Action": {
"Type": "PlayAnimation",
"Slot": "Action",
"Animation": "Alerted"
}
}
]
}
]
}
],
"NameTranslationKey": "server.npcRoles.Test_Animation.name"
}