info_game_event_proxy
Jump to navigation
Jump to search
Code classes:
CInfoGameEventProxy
CPointEntity
CBaseEntity
(all ents)
info_game_event_proxy
is a point entity present in all games since Left 4 Dead. It fires a game event. Usually used for showing hint messages.
Bug: Sometimes the entity just stops working after being activated enough times in a map. The map needs to be reloaded.
Flags[edit | edit source]
- 1: Fire Automatically When First Seen
Keyvalues[edit | edit source]
- Name of the event to generate
(event_name)
<float>
- An "event" to fire. See the "events" files in
/resource/
for all usable events. - Range
(range)
<float>
- If using Fire Automatically When First Seen, this sets a limit for how far away a player can be while the entity is considered visible. Note: In this is measured in feet, so 3 = 36 world units.
- Start Disabled
(StartDisabled)
<boolean>
(available in all games since ) - Stay inactive until Enabled.
Inputs[edit | edit source]
- GenerateGameEvent
- Generates the event. (This entity will be the "subject" ent.)
- Enable (available in all games since )
- Makes the entity active.
- Disable (available in all games since )
- Makes the entity inactive.