Test_Boss_Spawning
Server/NPC/Roles/_Core/Tests/Integration/Test_Boss_Spawning.json, 1.1 KB
Fields
| Field | Type |
|---|---|
Type | string |
Appearance | string |
KnockbackScale | number |
FlockAllowedNPC | array[1] |
MotionControllerList | array[1] |
MaxHealth | object |
Parameters | object |
Instructions | array[1] |
NameTranslationKey | string |
Source
{
"Type": "Generic",
"Appearance": "Mannequin",
"KnockbackScale": 0,
"FlockAllowedNPC": [ "Test_Can_Join_Flock" ],
"MotionControllerList": [
{
"Type": "Walk",
"MaxWalkSpeed": 3,
"Gravity": 10,
"MaxFallSpeed": 8,
"Acceleration": 10
}
],
"MaxHealth": { "Compute": "MaxHealth" },
"Parameters": {
"MaxHealth": {
"Value": 100,
"Description": "Max health for the NPC"
}
},
"Instructions": [
{
"Instructions": [
{
"Sensor": {
"Type": "Any",
"Once": true
},
"ActionsBlocking": true,
"Actions": [
{
"Type": "Spawn",
"Kind": "Test_Boss_Minion",
"CountRange": [ 2, 2 ],
"DistanceRange": [ 2, 2 ]
}
]
},
{
"Sensor": {
"Type": "Any"
},
"BodyMotion": {
"Type": "Nothing"
}
}
]
}
],
"NameTranslationKey": "server.npcRoles.Test_Boss_Spawning.name"
}