Logic eventlistener
< Es
This translated page needs to be updated.
You can help by updating the translation. Also, please make sure the article tries to comply with the alternate languages guide.
You can help by updating the translation. Also, please make sure the article tries to comply with the alternate languages guide.
logic_eventlistener
es un punto de entidad disponible en todos los juegos de Source desde Template:Game name. Se puede usar en eventos del código que sean lanzados al suceder.
Todas las declaraciones de eventos se pueden encontrar en estos archivos:
resource/gameevents.res resource/modeevents.res resource/demoimportantevents.res resource/serverevents.res resource/hltvevents.res resource/replayevents.res
Confirmar:La entidad dejará de funcionar al cargar una partida guardada.
Valores clave
- Name
(targetname)
<string > - 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.Véase también: Generic Keyvalues, Inputs and Outputs available to all entities
- Event Name
([todo internal name (i)])
<string > - The name of the event that you want to listen for.
- Fetch Event Data
([todo internal name (i)])
<boolean > (en todos juegos desde ) (también en ) - 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).
Entradas
EnableDisable:
Enable / Disable
- Enable/disable this entity from performing its task. It might also disappear from view.
Salidas
OnEventFired
- Fired when the event has been detected.