Logic eventlistener
Jump to navigation
Jump to search
Template:Base point It can listen to events fired from code and fire and output when it happens. All event declarations can be found in these files:
resource/gameevents.res resource/modeevents.res resource/demoimportantevents.res resource/serverevents.res resource/hltvevents.res resource/replayevents.res

Keyvalues
- Fetch Event Data ([todo internal name (i)]) <boolean> (in all games since
)
- Copies the game event data to the
event_data
table in the script scope of the listener entity when the event is fired.
- Team Number ([todo internal name (i)]) <choices>
- If set, will only fire its output if the event is generated from someone of the specified team.
- Start Disabled (StartDisabled) <boolean>
- Stay dormant until activated (with the
Enable
input).
Inputs
EnableDisable:
- Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Outputs
- OnEventFired
- Fired when the event has been detected.