Triggers, Doors, and Usable Placeables are the customary objects used for inter-server travel in ALFA.
Simply put, a portal (not to be confused with other Portals)) is a method of traveling between ALFA servers.
A portal event may be initialized in either the
OnUsed events. Set either script to use or call acr_trg_portalstart.nss.
The destination of a cross-server portal is always a waypoint.
- Example: For the arrival waypoint of a portal from Baldur's Gate (Server ID 010) to The Silver Marches (Server ID 003), the first such arrival waypoint is given the tag:
- See also: Using Local Variables
The following two variables are required for the portal to function.
ACR_PORTAL_DEST_SERVER(int) -- Must be set to the destination server ID.
int ACR_PORTAL_DEST_SERVER = 10to travel to Baldur's Gate.
ACR_PORTAL_NUM(int) -- The unique ID (for the destination server) of the destination waypoint.
The following options are optional.
ACR_PORTAL_DEST_ADJACENT(int) -- If set to
1, the 24-hour portal cooldown will be disabled.