prop_linked_portal_door

From Valve Developer Community
Revision as of 11:33, 12 May 2023 by Luke18033 (talk | contribs) (Properly document position shift behavior, remove entity description header, use base entity templates)
Jump to navigation Jump to search
English (en)Translate (Translate)
Example of a linked prop portal: the door connects to a room of the same size with white tiles.

Template:Entity It is a door which is linked by a portal to another prop_linked_portal_door entity. It behaves similarly to a linked_portal_door, but is accompanied by a test chamber door model (using an outdated design).

Template:ModernNote

Template:ModernBug

Template:ModernNote

Keyvalues

Lighting Origin ([todo internal name (i)]) <targetname>
Select an info_lighting to specify a location to sample lighting from for all gibs spawned by this shooter, instead of their own origins.
LinkedPortalDoor:
Linked Partner (partnername) <targetname>
Another 'linked_portal_door' entity which will link to this one.


Inputs

LinkedPortalDoor:
SetPartner <stringRedirectInput/string>
Set a new partner door.
Open
Open the door and cause the portal to activate.
Close
Close the door and cause the portal to deactivate.


Outputs

OnFullyOpen
Called when the door has finished its open animation.
OnFullyClosed
Called when the door has finished its close animation.
LinkedPortalDoor:
OnOpen
Called when the door has started its open animation.
OnClose
Called when the door has started its close animation.
OnEntityTeleportFromMe
Called when an entity enters this linked portal.
OnPlayerTeleportFromMe
Called when the player enters this linked portal.
OnEntityTeleportToMe
Called when an entity exits this linked portal.
OnPlayerTeleportToMe
Called when the player exits this linked portal.


See also