Example_Variant_Base
Server/EncounterManager/Example_Variant_Base.json, 1.0 KB
Fields
| Field | Type |
|---|---|
Class | string |
Type | string |
Parameters | object |
Instructions | array[1] |
Source
{
"Class": "EncounterManager",
"Type": "Abstract",
"Parameters": {
"LogMessage": {
"Value": "Encounter variant base: a player approached.",
"Description": "Message logged when a player approaches. Override this per variant."
},
"TriggerRange": {
"Value": 40,
"Description": "Radius within which spawn markers are triggered."
}
},
"Instructions": [
{
"Instructions": [
{
"Sensor": {
"Type": "Player",
"Range": 8
},
"Instructions": [
{
"Sensor": {
"Type": "Any",
"Once": true
},
"Actions": [
{
"Type": "Log",
"Message": { "Compute": "LogMessage" }
},
{
"Type": "TriggerSpawners",
"Range": { "Compute": "TriggerRange" },
"Count": 2
}
]
}
]
}
]
}
]
}