schedule_zone_trigger
Schedules deferred multi-action story encounters at any map coordinates; when a survivor enters the radius and the chunk loads, it executes configured actions and logs the trigger.
Instructions
Schedule a deferred multi-action story encounter at ANY `(x, y)` coordinates on the Kentucky map
(even miles away in unloaded chunks!). As soon as any survivor approaches within `radius` tiles (10..90)
and the chunk loads, Zomboid automatically executes `actions` and logs `zone_trigger_fired`.
Example `actions`:
[
{"command": "spawn_vehicle", "args": {"vehicle_type": "Base.VanAmbulance", "x": 10615, "y": 10630, "condition": "wrecked"}},
{"command": "spawn_items", "args": {"x": 10617, "y": 10630, "placement": "crate", "add_smoke": true, "items": [{"type": "Base.FirstAidKit_Military", "count": 2}]}},
{"command": "spawn_horde", "args": {"x": 10620, "y": 10635, "count": 18, "outfit": "ArmyCamoGreen"}},
{"command": "radio_broadcast", "args": {"text": "Внимание! Вы вышли к санитарному конвою! Вижу зелёный дым!"}}
]
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"name": "<name>",
"x": "<x>",
"y": "<y>",
"actions": "<actions>"
},
"name": "schedule_zone_trigger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| x | Yes | ||
| y | Yes | ||
| name | Yes | ||
| radius | No | ||
| actions | Yes | ||
| trigger_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||