create_area_transition
Builds a one-way area transition by placing a trigger and waypoint, writing and compiling the travel script, and linking them. Call twice with swapped areas for two-way travel.
Instructions
Create a one-way area transition: trigger in source area → waypoint in target area. For two-way transitions, call twice with swapped source/target. Writes and compiles a transition script, places the waypoint, places the trigger, and sets LinkedTo metadata for connectivity checks.
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": {
"sourceArea": "<sourceArea>",
"sourceX": "<sourceX>",
"sourceY": "<sourceY>",
"targetArea": "<targetArea>",
"targetX": "<targetX>",
"targetY": "<targetY>",
"tag": "<tag>"
},
"name": "create_area_transition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | Yes | Base tag for naming. Max 11 chars to avoid script resref truncation collisions. Trigger tag = 'tr_<tag>' (32-char limit), waypoint tag = 'wp_<tag>' (32-char limit), script resref = 'a_tr_<tag>' (16-char resref limit — this is the constraint). Use short abbreviated tags like 'vil_inn', 'cave_vil'. | |
| sourceX | Yes | Trigger X position in source area | |
| sourceY | Yes | Trigger Y position in source area | |
| sourceZ | No | Trigger Z position (default 0.0) | |
| targetX | Yes | Waypoint X position in target area | |
| targetY | Yes | Waypoint Y position in target area | |
| targetZ | No | Waypoint Z position (default 0.0) | |
| sourceArea | Yes | Area resref where the trigger is placed | |
| targetArea | Yes | Area resref where the waypoint is placed | |
| triggerBlueprint | No | UTT blueprint resref for the trigger (default: 'nw_yourfeet' or generic trigger) |