Difference between revisions of "Portals"

From ALFA
Jump to: navigation, search
(Building IC Portals)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
=Building Portals=
+
=Building IC 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.
+
Not to be confused with Server Portals: [[Building Portals]]
 +
 
 +
An IC 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:
  
  

Latest revision as of 13:37, 1 February 2023

Building IC Portals

Not to be confused with Server Portals: Building Portals

An IC 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