Skip to content
Vicious Squid edited this page Jun 11, 2026 · 34 revisions

World portal for non-Euclidean environmental design - Inspired by Prey (2006)

Portals act as windows which the player can step through. Use this to make endless corridors or similar confusing designs.

Demonstrated in maps/Portal_Test.json

Also see: portal-specific console commands


  • Attach to mover
  • Portal Target - Name of partner Portal
  • Active
  • Angle
  • Color
  • Height
  • Visible
  • Width

Inputs:

  • Enable: Sets active = True and fires OnActivate
  • Disable: Sets active = False and fires OnDeactivate
  • Toggle: Flips the active state

Outputs:

  • OnPlayerEnter: Fired once per transit when the player passes through
  • OnActivate: Fired when the portal is enabled
  • OnDeactivate: Fired when the portal is disabled

Clone this wiki locally