Info game event proxy: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
(added spawnflag)
Line 18: Line 18:


== Flags ==
== Flags ==
* 1: ?
* 1: Fire Automatically When First Seen


[[Category:Left 4 Dead Entities]]
[[Category:Left 4 Dead Entities]]

Revision as of 20:58, 20 July 2009

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 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 entrys.

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