Test_And
Server/NPC/Roles/_Core/Tests/Test_And.json, 824 B
Fields
| Field | Type |
|---|---|
Comment | string |
Type | string |
Appearance | string |
MotionControllerList | array[1] |
TestType | string |
MaxHealth | object |
Parameters | object |
Instructions | array[1] |
NameTranslationKey | string |
Source
{
"Comment": "DisplayState",
"Type": "Generic",
"Appearance": "Sheep",
"MotionControllerList": [
{
"Type": "Walk",
"MaxWalkSpeed": 5,
"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": "And",
"Sensors": [
{
"Type": "Mob",
"Range": 10
}
]
},
"HeadMotion": {
"Type": "Aim"
}
}
]
}
],
"NameTranslationKey": "server.npcRoles.Test_And.name"
}