Npc security camera: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 1: Line 1:
{{wrongtitle|title=npc_security_camera}}
==Entity Description==
==Entity Description==
Security Camera
Security Camera
Line 12: Line 13:
* {{i targetname}}
* {{i targetname}}
* {{i enabledisable}}
* {{i enabledisable}}
* '''Toggle'''
* '''SetTarget'''
: Toggle - If open, close. If closed, open.
: <string> Set the entity to target.
* '''Ragdoll'''
* '''TargetPlayer'''
: Disable and fall off the wall.
: Set the player as the entity to target.
==Outputs==
==Outputs==
* {{o targetname}}
* {{o targetname}}
* '''OnDeploy'''
* '''OnFoundTarget'''
: Camera is becoming active and dangerous.
: Arm has direct LOS to target entity.
* '''OnRetire'''
* '''OnLostTarget'''
: Camera is becoming inactive and harmless.
: Arm has lost direct LOS to target entity.


[[Category:Portal Entities]]
[[Category:Portal Entities]]

Revision as of 08:33, 12 October 2007

Template:Wrongtitle

Entity Description

Security Camera

Availability

This point entity is exclusive to Portal.

Keyvalues

Flags

  • 32: Autostart

Inputs

<string> Set the entity to target.
  • TargetPlayer
Set the player as the entity to target.

Outputs

Arm has direct LOS to target entity.
  • OnLostTarget
Arm has lost direct LOS to target entity.