Example_Encounter
Server/EncounterManager/Example_Encounter.json, 1.5 KB
Fields
| Field | Type |
|---|---|
Class | string |
Type | string |
Instructions | array[1] |
Source
{
"Class": "EncounterManager",
"Type": "Generic",
"Instructions": [
{
"Instructions": [
{
"Sensor": {
"Type": "Player",
"Range": 8
},
"Instructions": [
{
"Sensor": {
"Type": "Any",
"Once": true
},
"Actions": [
{
"Type": "TriggerSpawners",
"Range": 40,
"Count": 2
},
{
"Type": "TimerStart",
"Name": "SecondRound",
"StartValueRange": [ 5, 5 ],
"RestartValueRange": [ 5, 5 ]
},
{
"Type": "Log",
"Message": "Encounter Manager Example: Spawned first round!"
}
]
},
{
"Sensor": {
"Type": "Timer",
"Name": "SecondRound",
"State": "Stopped",
"Once": true
},
"Actions": [
{
"Type": "TriggerSpawners",
"Range": 40,
"Count": 2
},
{
"Type": "Log",
"Message": "Encounter Manager Example: Spawned second round!"
}
]
}
]
}
]
}
]
}