Static3
Server/NPC/Roles/_Core/Tests/HotboxTests/Static3.json, 1.1 KB
Fields
| Field | Type |
|---|---|
$Comment | string |
StartState | string |
Type | string |
Appearance | string |
MotionControllerList | array[1] |
TestType | string |
MaxHealth | object |
Parameters | object |
Instructions | array[1] |
NameTranslationKey | string |
Source
{
"$Comment": "SETTING THE INITIAL STATE OF THE NPC ON THE NEXT LINE!",
"StartState": "Idle",
"Type": "Generic",
"Appearance": "Trork_Shaman",
"MotionControllerList": [
{
"Type": "Walk",
"MaxWalkSpeed": 1,
"Gravity": 10,
"MaxFallSpeed": 8,
"Acceleration": 10
}
],
"TestType": "Normal",
"MaxHealth": { "Compute": "MaxHealth" },
"Parameters": {
"MaxHealth": {
"Value": 100,
"Description": "Max health for the NPC"
}
},
"Instructions": [
{
"Instructions": [
{
"$Comment": "--------THE IDLE STATE---------",
"Sensor": {
"Type": "State",
"State": "Idle"
},
"Instructions": [
{
"$Comment": "Animations",
"Continue": true,
"Sensor": {
"Type": "Any"
},
"Actions": [
{
"Type": "PlayAnimation",
"Slot": "Status"
}
]
}
]
}
]
}
],
"NameTranslationKey": "server.npcRoles.Static.name"
}