Example_Macro_Based_Boss
Server/EncounterManager/Example_Macro_Based_Boss.json, 1.9 KB
Fields
| Field | Type |
|---|---|
Class | string |
Type | string |
StartState | string |
Debug | string |
Instructions | array[4] |
Source
{
"Class": "EncounterManager",
"Type": "Generic",
"StartState": "Phase_1",
"Debug": "DisplayState,DisplayTarget",
"Instructions": [
{
"Continue": true,
"Sensor": {
"Type": "And",
"Sensors": [
{
"Type": "State",
"State": "Phase_1"
},
{
"Type": "Not",
"Sensor": {
"Type": "Target",
"TargetSlot": "Boss",
"Range": 100
}
}
]
},
"Actions": [
{
"Type": "TriggerSpawners",
"Count": 1,
"Range": 30,
"SpawnMarker": "Test_Boss_Marker",
"TargetSlot": "Boss",
"Rebind": true
}
]
},
{
"Sensor": {
"Type": "State",
"State": "Phase_1"
},
"Instructions": [
{
"Reference": "Encounter_Macro_Transition_TargetInHealthRange",
"Modify": {
"_ExportStates": [ "Phase_2" ],
"Slot": "Boss",
"Range": 100,
"HealthRange": [ 0, 0.5 ]
}
}
]
},
{
"Sensor": {
"Type": "State",
"State": "Phase_2"
},
"Instructions": [
{
"Reference": "Encounter_Macro_Pattern_Example_Stalactites",
"Modify": {
"Interaction": "Test_Encounter_Projectile",
"Particle": "Explosion_Medium",
"Tag": "arrow",
"Range": 100,
"Interval": [ 5, 5 ]
}
},
{
"Reference": "Encounter_Macro_Transition_TargetGone",
"Modify": {
"_ExportStates": [ "Completed" ],
"Slot": "Boss",
"Range": 100
}
}
]
},
{
"Sensor": {
"Type": "State",
"State": "Completed"
},
"Actions": [
{
"Type": "Nothing"
}
]
}
]
}