point_laser_target
Jump to navigation
Jump to search
Code classes:
CPortalLaserTarget
CBaseEntity
(all ents)
point_laser_target
is a point entity present in Portal 2. It's an invisible target that can be hit by lasers.
Keyvalues[edit | edit source]
- Terminal Point
(terminalpoint)
<boolean>
- If set, lasers using auto-aim will snap to this entity. Otherwise, lasers will be considered hitting the entity if they intersect a box roughly 20 units in all directions centered on the entity.
Outputs[edit | edit source]
- OnPowered
- Fires when a laser starts hitting the entity.
- OnUnpowered
- Fires when a laser is no longer hitting the entity.