Test_Delay
Server/NPC/Roles/_Core/Tests/Test_Delay.json, 1.2 KB
Fields
| Field | Type |
|---|---|
Type | string |
Appearance | string |
DisableDamageGroups | array[1] |
HotbarItems | array[1] |
MotionControllerList | array[1] |
TestType | string |
MaxHealth | object |
Parameters | object |
Instructions | array[1] |
NameTranslationKey | string |
Source
{
"Type": "Generic",
"Appearance": "Mannequin",
"DisableDamageGroups": [ "Self" ],
"HotbarItems": [ "Weapon_Longsword_Copper" ],
"MotionControllerList": [
{
"Type": "Walk",
"MaxWalkSpeed": 6,
"Gravity": 10,
"MaxFallSpeed": 20,
"Acceleration": 10,
"MaxRotationSpeed": 360,
"ClimbSpeedMult": 0.125
}
],
"TestType": "Normal",
"MaxHealth": { "Compute": "MaxHealth" },
"Parameters": {
"MaxHealth": {
"Value": 100,
"Description": "Max health for the NPC"
}
},
"Instructions": [
{
"Instructions": [
{
"Sensor": {
"Type": "Player",
"Range": 10
},
"Actions": [
{
"Type": "Sequence",
"Blocking": true,
"Actions": [
{
"Type": "Timeout",
"Delay": [ 5, 10 ]
},
{
"Type": "DisplayName",
"DisplayName": "DelayOver"
}
]
}
]
}
]
}
],
"NameTranslationKey": "server.npcRoles.Test_Delay.name"
}