Info game event proxy: Difference between revisions
Jump to navigation
Jump to search
Note:Whenever a hint is shown to the player, a count of how many times the player was notified is recorded in the
No edit summary |
m (Add internal names of keyname keys) |
||
Line 6: | Line 6: | ||
== Keyvalues == | == Keyvalues == | ||
{{KV|Event Name|string|The event to trigger by name from modevents.res}} | {{KV|Event Name|intn=event_name|string|The event to trigger by name from modevents.res}} | ||
{{KV|Range|float|Distance that the player must be before the event is generated.}} | {{KV|Range (in feet)|intn=range|float|Distance that the player must be before the event is generated.}} | ||
{{KV Targetname}} | {{KV Targetname}} | ||
{{KV EnableDisable}} | {{KV EnableDisable}} |
Revision as of 03:11, 18 March 2021
Entity description
It is an entity that triggers a game event (for example show a hint).

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
- Event Name (event_name) <string>
- The event to trigger by name from modevents.res
- Range (in feet) (range) <float>
- Distance that the player must be before the event is generated.
- Name (targetname) <string>[ Edit ]
- 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
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).
Flags
- 1 : Automatically detect visibility
Inputs
- GenerateGameEvent
- Generate the event on input. (This entity is sent as the SUBJECT)
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.