prop_testchamber_door

From Source Entities
Jump to navigation Jump to search
Prop testchamber door.png

Code classes:

prop_testchamber_door is a point entity present in P2.pngPortal 2. It's a door used at the start and end of a test chamber.

Keyvalues[edit | edit source]

Area Portal Window Name (AreaPortalWindow) <target_destination>
A func_areaportal or func_areaportalwindow which will open or close when this door does.
Fade Area Portal? (UseAreaPortalFade) <boolean>
If using func_areaportalwindow, makes it use the door's fade distances.
Fade Start Distance (AreaPortalFadeStart) <float>
Distance at which the portal starts to fade.
Fade End Distance (AreaPortalFadeEnd) <float>
Distance at which the portal is fully closed.

Inputs[edit | edit source]

Open
Opens the door.
Close
Closes the door.
Lock
Prevents the door from being opened or closed.
Unlock
Allows the door to be opened and closed.
OpenLock (Not in FGD)
Opens the door and locks it.

Outputs[edit | edit source]

OnOpen
Fires when the Open input is sent.
OnClose
Fires when the Close input is sent.
OnFullyOpen
Fires when the door finishes its open animation.
OnFullyClosed
Fires when the door finishes its close animation.