Logic game event: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
mNo edit summary
(Reformat)
Line 1: Line 1:
{{l4d2 point|logic_game_event}} This entity allows firing of game events. As of this time, there are no parameters available. See the [[Hammer_Entity_Report_Dialog|Entity Report]] available in [[Hammer]] for c6m2_bedlam and c6m3_port (part of The Passing campaign) for examples.
{{l4d2 point|logic_game_event}} This entity allows firing of game events. As of this time, there are no parameters available. See the [[Hammer_Entity_Report_Dialog|Entity Report]] available in [[Hammer]] for c6m2_bedlam and c6m3_port (part of The Passing campaign) for examples.
{{todo|It may be possible that this entity is used for the in-game achievement system.}}
{{todo|It may be possible that this entity is used for the in-game achievement system.}}
==Keyvalues==
==Keyvalues==
{{KV|Game Event Name|string|Event name (from ModEvents.res) to fire. As of this time, there are no parameters available.}}
{{KV Targetname}}
{{KV Targetname}}
*;Game Event Name <code><[[string]]></code>
:Event name (from ModEvents.res) to fire. As of this time, there are no parameters available.


==Flags==
==Flags==
*1: userid field with activator
*1: userid field with activator


==Inputs==
== Inputs ==
{{IO|FireEvent|Fire the event}}
{{I Targetname}}
{{I Targetname}}
*;FireEvent
:Fire the event.


==Outputs==
== Outputs ==
{{O Targetname}}
{{O Targetname}}
==See also==
==External links==

Revision as of 07:37, 12 August 2011

Template:L4d2 point This entity allows firing of game events. As of this time, there are no parameters available. See the Entity Report available in Hammer for c6m2_bedlam and c6m3_port (part of The Passing campaign) for examples.

Todo: It may be possible that this entity is used for the in-game achievement system.

Keyvalues

Game Event Name ([todo internal name (i)]) <string>
Event name (from ModEvents.res) to fire. As of this time, there are no parameters available.
Name (targetname) <string>[ Edit ]
The name that other entities refer to this entity by, via Inputs/Outputs or other keyvalues (e.g. parentname or target).
Also displayed in Hammer's 2D views and Entity Report.
See also:  Generic Keyvalues, Inputs and Outputs available to all entities

Flags

  • 1: userid field with activator

Inputs

FireEvent
Fire the event


Outputs