adventure_create_transition
Creates a bidirectional area transition in one call, placing linked blue light portals and landing waypoints at matching coordinates in both areas and compiling scripts to jump players between them.
Instructions
Create a BIDIRECTIONAL area transition for adventure modules in a single call. Places a useable blue shaft of light (plc_solblue) AND a landing waypoint at BOTH positions simultaneously, guaranteeing the light and waypoint in each area are at the exact same coordinates. The A→B light's OnUsed script plays VFX_FNF_SUMMON_MONSTER_2 and jumps the PC to the waypoint in B. The B→A light does the same back to A. Both scripts are compiled and dialog resrefs are returned. Tag constraints: max 11 chars (resrefs are 'a_at_' and 'a_rt_', both max 16 chars).
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": {
"areaA": "<areaA>",
"aX": "<aX>",
"aY": "<aY>",
"areaB": "<areaB>",
"bX": "<bX>",
"bY": "<bY>",
"tag": "<tag>"
},
"name": "adventure_create_transition"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| aX | Yes | Portal X position in areaA | |
| aY | Yes | Portal Y position in areaA | |
| bX | Yes | Portal X position in areaB | |
| bY | Yes | Portal Y position in areaB | |
| tag | Yes | Base tag, max 11 chars. Generates: lights 'at_<tag>'/'rt_<tag>', waypoints 'wp_at_<tag>'/'wp_rt_<tag>', scripts 'a_at_<tag>'/'a_rt_<tag>', dialogs 'd_at_<tag>'/'d_rt_<tag>'. | |
| areaA | Yes | First area resref (e.g. 'village') | |
| areaB | Yes | Second area resref (e.g. 'cave') |