Test_Remove
Server/NPC/Roles/_Core/Tests_Development/Test_Remove.json, 1.2 KB
Fields
| Field | Type |
|---|---|
Type | string |
Appearance | string |
HotbarItems | array[0] |
MotionControllerList | array[1] |
MaxHealth | object |
Parameters | object |
Instructions | array[1] |
NameTranslationKey | string |
Source
{
"Type": "Generic",
"Appearance": "Kweebec_Sproutling",
"HotbarItems": [ ],
"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": [
{
"Instructions": [
{
"Sensor": {
"Type": "Player",
"Range": 5
},
"HeadMotion": {
"Type": "Watch"
},
"ActionsBlocking": true,
"Actions": [
{
"Type": "Timeout",
"Delay": [ 2, 2 ]
},
{
"Type": "PlayAnimation",
"Slot": "Status",
"Animation": "Wave"
},
{
"Type": "Timeout",
"Delay": [ 2, 2 ]
},
{
"Type": "Remove",
"UseTarget": false
}
]
}
]
}
],
"NameTranslationKey": "server.npcRoles.Test_Remove.name"
}