func_areaportal_oneway is a brush entity available with any version of Mapbase.

An areaportal that is only open when viewed from one direction.



KeyValues

- Origin (origin_) <origin>
Point from which the areaportal's location is determined (they are a special case and cannot use the normal value). Read-only.
- One-way group (group) <string>
Optimisation: oneway portals in the same group share a single closed/open state. Use this, for example, on walls full of one-way windows.
- Open direction (onewayfacing) <angle>
The portal will be open when the player is within 90 degrees of this direction.
- Avoid latency pop (avoidpop) <choices>
Enable this if it becomes noticeable that the portal stays closed momentarily after the player walks past it. The portal will open 80 units in advance.

Inputs

- DisableOneWay <void>
Disable the one-way behaviour of the portal.
- EnableOneWay <void>
Enable the one-way behaviour of the portal.
- ToggleOneWay <void>
Toggle the one-way behaviour of the portal.
- InvertOneWay <void>
Flip the one-way direction.