npc_security_camera
Jump to navigation
Jump to search
Code classes:
CNPC_SecurityCamera
CAI_BaseNPC
(NPCs)CBaseCombatCharacter
CBaseFlex
CBaseAnimatingOverlay
CBaseAnimating
(models)CBaseEntity
(all ents)
npc_security_camera
is a point entity present in both Portal games. It's a security camera.
Flags[edit | edit source]
- 32: Autostart - Camera is enabled by default.
Keyvalues[edit | edit source]
- Look at co-op player's pings instead
(LookAtPlayerPings)
<boolean>
(only available in ) - If in coop, looks at the locations of player pings instead of players.
- Team Pings to Observe
(TeamToLookAt)
<choices>
(only available in ) - Coop pings to look at.
- 1: Both
- 2: Orange
- 3: Blue
- Which team to follow
(TeamPlayerToLookAt)
<choices>
(only available in ) - Which player to look at.
- 0: Both
- 2: Orange
- 3: Blue
Inputs[edit | edit source]
- Ragdoll
- Makes the camera pop off the wall.
- Enable
- Makes the entity active.
- Disable
- Makes the entity inactive.
- Toggle
- If on, turn off. If off, turn on.
- LookAtBlue (only available in )
- Sets Which team to follow to Blue.
- LookAtOrange (only available in )
- Sets Which team to follow to Orange.
- LookAllTeams (only available in )
- Sets Which team to follow to Both.
Outputs[edit | edit source]
- OnDeploy
- Fires when the camera turns on.
- OnRetire
- Fires when the camera turns off.
- OnTaunted (only available in )
- Fires when a coop player starts taunting the camera.
- OnTauntedBlue (only available in )
- Fires when ATLAS starts taunting the camera.
- OnTauntedOrange (only available in )
- Fires when P-Body starts taunting the camera.
- OnTauntedFinished (only available in )
- Fires when a coop player finishes taunting the camera.
- OnTauntedBlueFinished (only available in )
- Fires when ATLAS finishes taunting the camera.
- OnTauntedOrangeFinished (only available in )
- Fires when P-Body finishes taunting the camera.