Info game event proxy

From Valve Developer Community
Revision as of 18:49, 6 March 2011 by ThaiGrocer (talk | contribs)
Jump to navigation Jump to search

Template:L4d series point It is an entity that triggers a game event (for example show a hint).

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)

Outputs

Flags

  • 1: Fire Automatically When First Seen

See also

External links