point_survey
Jump to navigation
Jump to search
This entity is not in the game by default, but got left over in the FGD.
This feature is not available anymore.
This feature is not available anymore.
point_survey
is a cut point entity available in Portal 2. The entity would display a survey on the player's screen based on a script from the folder portal2/scripts/surveys/
, and fire an output when it is completed. The survey results were written to a CSV file in the same folder, and the game would also attempt to upload them to a mounted network drive, failing and outputting a console message if said network drive is not present. Presumably, this entity was used during Portal 2's development to get feedback from playtesters.
This entity was still present in the game at launch, but in a March 2023 update (nearly 12 years after Portal 2's release), the entity was removed to fix a security exploit.
Keyvalues
- Name (targetname) <string>
- The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g.
parentname
ortarget
).
Also displayed in Hammer's 2D views and Entity Report.See also: Generic Keyvalues, Inputs and Outputs available to all entities
- Survey Script Name (surveyname) <string>
- Name of a survey keyvalues file, from the 'scripts/surveys' folder.
Inputs
- ShowSurvey
- Displays the survey.
Outputs
- OnSurveyComplete
- Fired when the player completes or cancels the survey.