Difference between revisions of "Portals"

From ALFA
Jump to: navigation, search
(Building Portals)
Line 1: Line 1:
=Analyze Portal=
+
=Building Portals=
 
+
A portal can be a placeable, a trigger, or a door. In order for the spell [[Analyze Portal]] to work correctly ingame, portals must be set up with the following properties.
The Caster can tell if a 20 foot sphere contains a magic portal. After the first round, Caster is given a caster level check (d20 + CL) each round, for up to another 6 rounds, to learn information about the portal. Failing any caster level check ends the spell. Properties of the portal are discovered in this order:
 
 
 
*'''Portal Command'''* -- Any key or command needed to activate the portal
 
*'''Portal Circumstances'''* -- Any special circumstances governing the portal's use (such as specific times when the portal can be activated)
 
*'''Portal Direction'''* Whether the portal is one-way or two-way
 
*'''Portal Properties'''* -- Any unusual properties
 
*'''Portal Destination'''* -- A description of the immediate area where the portal leads
 
*'''Portal Functionality'''* -- Whether the portal is functioning properly
 
  
=Building Portals=
 
In order for the spell [[Analyze Portal]] to work correctly ingame, portals must be set up with the following variables.
 
  
 +
*'''Tag''' -- The tag must start with the alfa_portal prefix: "alfa_portal_". The rest of the tag can be whatever you want.
  
PORTAL_LOCATION
+
*'''PORTAL_LOCATION''' (string) -- A description of the area where the portal is located.
PORTAL_COMMAND
+
*'''PORTAL_COMMAND''' (string) -- Any key or command needed to activate the portal
PORTAL_CIRCUMSTANCE
+
*'''PORTAL_CIRCUMSTANCE''' (string) -- Any special circumstances governing the portal's use (such as specific times when the portal can be activated)
PORTAL_DIRECTION
+
*'''PORTAL_DIRECTION''' (string) -- Whether the portal is one-way or two-way.
PORTAL_PROPERTIES
+
*'''PORTAL_PROPERTIES''' (string) -- Any unusual properties
PORTAL_DESTINATION
+
*'''PORTAL_DESTINATION''' (string) -- A description of the immediate area where the portal leads
PORTAL_FUNCTIONALITY
+
*'''PORTAL_FUNCTIONALITY''' (string) -- Whether the portal is functioning correctly

Revision as of 13:35, 1 February 2023

Building Portals

A portal can be a placeable, a trigger, or a door. In order for the spell Analyze Portal to work correctly ingame, portals must be set up with the following properties.


  • Tag -- The tag must start with the alfa_portal prefix: "alfa_portal_". The rest of the tag can be whatever you want.
  • PORTAL_LOCATION (string) -- A description of the area where the portal is located.
  • PORTAL_COMMAND (string) -- Any key or command needed to activate the portal
  • PORTAL_CIRCUMSTANCE (string) -- Any special circumstances governing the portal's use (such as specific times when the portal can be activated)
  • PORTAL_DIRECTION (string) -- Whether the portal is one-way or two-way.
  • PORTAL_PROPERTIES (string) -- Any unusual properties
  • PORTAL_DESTINATION (string) -- A description of the immediate area where the portal leads
  • PORTAL_FUNCTIONALITY (string) -- Whether the portal is functioning correctly