info_placement_helper

From Source Entities
Jump to navigation Jump to search

Code classes:

info_placement_helper is a point entity present in P2.pngPortal 2. It helps players align portals.

Keyvalues[edit | edit source]

Pitch Yaw Roll (angles) <angle>
Direction the portal should face.
Radius (radius) <float>
If the middle of a portal is inside this radius, the portal is moved to the location of this entity.
Force Placement (force_placement) <boolean>
Ignores the helper's cooldown period. Normally, a helper will let a portal go anywhere inside its radius when there's already one placed perfectly on the helper, or for a few seconds after a portal is moved. This setting will force portals to always be perfectly placed.
Start Disabled (StartDisabled) <boolean>
Stay inactive until Enabled.
Use helper's angles (snap_to_helper_angles) <boolean>
Makes the entity stop working entirely.
Proxy Entity Name (proxy_name) <target_destination>
Does not work.
Attach Entity Name (attach_target_name) <target_destination>
Does nothing.

Inputs[edit | edit source]

Enable
Makes the entity active.
Disable
Makes the entity inactive.

Outputs[edit | edit source]

OnObjectPlaced
Never fires. Portal placement can be detected with func_portalled.
OnObjectPlacedSize
Never fires.