Info game event proxy: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
m (→‎Keyvalues: Forgot to punctuate.)
m (→‎Keyvalues: Incorrect info.)
Line 12: Line 12:
* '''event_name'''
* '''event_name'''
:<string> Name of the event.
:<string> Name of the event.
{{Note|List of events can be found in resources\modevents.res. The file can be opened with a text editor.}}


== Inputs ==
== Inputs ==

Revision as of 22:22, 21 January 2010

Note.pngNote:The current description of this entity is based on unofficial data based on data mining. Anything that may be read here is largely incomplete or, in some cases, incorrect.

Entity Description

Triggers a game event (for example show a hint) in Left 4 Dead.

Note.pngNote:Whenever a hint is shown to the player, a count of how many times the player was notified is recorded in the save/game_instructor_counts.txt file which is found in the Left 4 Dead save folder. After a certain threshold, certain tips will no longer show up, possibly depending on how many success entries. If you want hints to begin showing up again, open your game_instructor_counts.txt file and delete the corresponding thread.

Keyvalues

Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

  • range
<float> How near the player must be (in feet) to determine visibility.
  • event_name
<string> Name of the event.

Inputs

  • GenerateGameEvent
Generate my game event. (This entity is sent as the SUBJECT)

Flags

  • 1: Fire Automatically When First Seen