Info game event proxy

From Valve Developer Community
Revision as of 09:40, 5 September 2010 by Impossible9 (talk | contribs)
Jump to navigation Jump to search
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, or load up the game and enter gameinstructor_reset_counts in the console(the latter will reset all of the instructor lessons.

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