info_game_event_proxy

From Source Entities
Jump to navigation Jump to search

Code classes:

Info game event proxy.png

info_game_event_proxy is a point entity present in all games since L4d.pngLeft 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 L4d.pngL4d2-small.pngAsw.png this is measured in feet, so 3 = 36 world units.
Start Disabled (StartDisabled) <boolean> (available in all games since P2.png)
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 P2.png)
Makes the entity active.
Disable  (available in all games since P2.png)
Makes the entity inactive.

See Also[edit | edit source]