info_survivor_position

From Source Entities
Jump to navigation Jump to search

Code classes:

info_survivor_position is a point entity present in both L4d.pngL4d2-small.pngLeft 4 Dead games. This entity is used at the start and end of a campaign in order to make survivors stand at specific spots. There are multiple ways to teleport survivors to these spots:

  • Send an info_director its ForceSurvivorPositions input
  • Send a trigger_finale its FinaleEscapeForceSurvivorPositions input.
  • Send a player its TeleportToSurvivorPosition input.

Keyvalues[edit | edit source]

Order (Order) <integer>
Index of spot based on order people connected. (E.g. the first player who connects will be at spot "1".)
Survivor Name (SurvivorName) <string>
Makes a specific character spawn here (Zoey, Louis, etc).
Survivor Intro Sequence (SurvivorIntroSequence) <string> (only available in L4d2-small.png)
Sequence to play when the intro starts. (E.g. c1m1_intro_gambler)
Game Mode (GameMode) <string> (only available in L4d2-small.png)
Locks this position to a specific mode. (coop, versus, survival, scavenge, holdout, etc)
Survivor Concept (SurvivorConcept) <string> (only available in L4d2-small.png)
Response rule concept to play when a survivor is moved here.
Hide Weapons (HideWeapons) <boolean> (only available in L4d2-small.png)
Hide the player's weapon while they're at this spot.

Inputs[edit | edit source]

SetViewControl <target_destination>
If a survivor is standing here, sets their view to a specified point_viewcontrol_survivor.