Security Camera: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(Added basic creation info for the security camera.)
 
Line 1: Line 1:
[[File:Camera.jpg|right|thumb|150px|Always watching.]]
[[File:Camera.jpg|right|thumb|150px|Always watching.]]


= Security Camera =
A '''security camera''' is an [http://developer.valvesoftware.com/wiki/NPC NPC] entity that automatically follows the player wherever he/she is in the room and are similar to the ones seen in the first  [http://developer.valvesoftware.com/wiki/Portal Portal]. Security cameras can be detached when a linked portal is placed behind it using [http://developer.valvesoftware.com/wiki/Trigger triggers].
A '''security camera''' is an [http://developer.valvesoftware.com/wiki/NPC NPC] entity that automatically follows the player wherever he/she is in the room and are similar to the ones seen in the first  [http://developer.valvesoftware.com/wiki/Portal Portal]. Security cameras can be detached when a linked portal is placed behind it using [http://developer.valvesoftware.com/wiki/Trigger triggers].



Revision as of 18:24, 15 May 2011

Always watching.

A security camera is an NPC entity that automatically follows the player wherever he/she is in the room and are similar to the ones seen in the first Portal. Security cameras can be detached when a linked portal is placed behind it using triggers.

Creation

1) Create an npc_security_camera entity using the entity tool.

2) Place the entity within the level by clicking anywhere in the 3D viewfinder.

2) Double-click on the entity to adjust its properties.

Properties

Skin

Value Skin 0: Clean

Skin 1: Dirty